Expand description
Bounded LZ4 block compression for byte columns.
Frames contain a declared total, block size, block count, a length table, and independently compressed blocks. Decoding validates all framing before allocation and each LZ4 block before extending the result.
Structs§
- Lz4Decoder
- Lz4Encoder
- Streaming LZ4 encoder. Accumulates data and compresses on
finish().
Functions§
- decode
- Decompress LZ4 block-compressed bytes back to raw data.
- decode_
block - Decompress a single block by index (for random access).
- encode
- Compress raw bytes using LZ4 block compression.
- encode_
with_ block_ size - Compress with a custom block size (useful for testing or tuning).