eckit::codec::Data class

Constructors, destructors, conversion operators

Data() defaulted
Data(void*, size_t)
Data(Data&&) defaulted
operator const void*() const

Public functions

auto operator=(Data&&) -> Data& defaulted
auto data() const -> const void*
auto size() const -> size_t
void assign(const Data& other)
void assign(const void*, size_t)
void clear()
auto write(Stream& out) const -> std::uint64_t
auto read(Stream& in, size_t size) -> std::uint64_t
void compress(const std::string& compression)
void decompress(const std::string& compression, size_t uncompressed_size)
auto checksum(const std::string& algorithm = "") const -> std::string