class MultithreadedChunkedCompressor
Defined at line 23 of file ../../src/lib/chunked-compression/multithreaded-chunked-compressor.h
MultithreadedChunkedCompressor creates compressed archives by using a thread pool to compress
chunks in parallel. This class is thread safe and can be used to compress multiple buffers at the
same time.
Public Methods
void MultithreadedChunkedCompressor (size_t thread_count)
Defined at line 218 of file ../../src/lib/chunked-compression/multithreaded-chunked-compressor.cc
void ~MultithreadedChunkedCompressor ()
Defined at line 222 of file ../../src/lib/chunked-compression/multithreaded-chunked-compressor.cc
zx::result<fbl::Array<uint8_t>> Compress (const CompressionParams & params, cpp20::span<const uint8_t> input)
Compresses |input| and returns the compressed result.
Defined at line 224 of file ../../src/lib/chunked-compression/multithreaded-chunked-compressor.cc