76 Zlib(
unsigned short level = 5);
129 bool DoCompress(
std::span<const
std::
byte> input,
Buffer::WriteOnly& output) const noexcept override;
145 bool DoDecompress(
std::span<const
std::
byte> input,
Buffer::WriteOnly& output) const noexcept override;
153 Buffer::Consumer DoDecompress(
Buffer::Consumer consumer,
ReadMode mode) const noexcept override;
Generic(const Generic &other)=default
Copy constructor.
~Zlib() noexcept
Destructor.
Zlib(Zlib &&other) noexcept=default
Move constructor.
Zlib(unsigned short level=5)
Construct with a compression level.
PointerType Move() noexcept override
Move this compressor into a new instance.
PointerType Clone() const override
Clone this compressor.
Zlib(const Zlib &other)=default
Copy constructor.
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Compressors of the Crypto module.
Crypto module of the StormByte suite.
Definition aead.hxx:53
ReadMode
How a source buffer is consumed.
Definition typedefs.hxx:57
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53