1#ifndef COMPRESSEDFILEADAPTER_HH
2#define COMPRESSEDFILEADAPTER_HH
21 void read(std::span<uint8_t> buffer)
final;
22 void write(std::span<const uint8_t> buffer)
final;
23 [[nodiscard]] std::span<const uint8_t>
mmap() final;
25 [[nodiscard]]
size_t getSize() final;
26 void seek(
size_t pos) final;
27 [[nodiscard]]
size_t getPos() final;
30 [[nodiscard]] const
std::
string&
getURL() const final;
void read(std::span< uint8_t > buffer) final
std::string_view getOriginalName() final
std::span< const uint8_t > mmap() final
void truncate(size_t size) final
bool isReadOnly() const final
void write(std::span< const uint8_t > buffer) final
const std::string & getURL() const final
void seek(size_t pos) final
time_t getModificationDate() final
This class manages the lifetime of a block of memory.
This file implemented 3 utility functions:
time_t cachedModificationDate