1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

LibCompress: Port DeflateCompressor to Core::Stream

This commit is contained in:
Tim Schumacher 2022-12-27 13:49:42 +01:00 committed by Andreas Kling
parent a212bc3052
commit 8cd2cf2b77
7 changed files with 107 additions and 97 deletions

View file

@ -80,10 +80,8 @@ private:
ErrorOr<void> write_header(ZlibCompressionMethod, ZlibCompressionLevel);
bool m_finished { false };
// FIXME: Remove this once DeflateCompressor is ported to Core::Stream.
NonnullOwnPtr<Core::Stream::WrapInAKOutputStream> m_ak_output_stream;
Core::Stream::Handle<Core::Stream::Stream> m_output_stream;
NonnullOwnPtr<OutputStream> m_compressor;
NonnullOwnPtr<Core::Stream::Stream> m_compressor;
Crypto::Checksum::Adler32 m_adler32_checksum;
};