Expand description
A drop-in compatible rust implementation of bzip2
Structs§
- bz_
stream - The current stream state.
Constants§
- BZ_
CONFIG_ ERROR - BZ_
DATA_ ERROR - BZ_
DATA_ ERROR_ MAGIC - BZ_
FINISH - BZ_
FINISH_ OK - BZ_
FLUSH - BZ_
FLUSH_ OK - BZ_
IO_ ERROR - BZ_
MAX_ UNUSED - BZ_
MEM_ ERROR - BZ_OK
- BZ_
OUTBUFF_ FULL - BZ_
PARAM_ ERROR - BZ_RUN
- BZ_
RUN_ OK - BZ_
SEQUENCE_ ERROR - BZ_
STREAM_ END - BZ_
UNEXPECTED_ EOF
Functions§
- BZ2_
bzBuff ⚠ToBuff Compress - Compress the input data into the destination buffer.
- BZ2_
bzBuff ⚠ToBuff Decompress - Decompress the input data into the destination buffer.
- BZ2_
bzCompress ⚠ - Compresses as much data as possible, and stops when the input buffer becomes empty or the output buffer becomes full.
- BZ2_
bzCompress ⚠End - Deallocates all dynamically allocated data structures for this stream.
- BZ2_
bzCompress ⚠Init - Prepares the stream for compression.
- BZ2_
bzDecompress ⚠ - Decompresses as much data as possible, and stops when the input buffer becomes empty or the output buffer becomes full.
- BZ2_
bzDecompress ⚠End - Deallocates all dynamically allocated data structures for this stream.
- BZ2_
bzDecompress ⚠Init - Prepares the stream for decompression.