Expand description
Bounded, explicit wire codecs. Encoding and compression have independent IDs.
Structsยง
- Cursor ๐
- Dictionary ๐
- Payload
Decoder ๐ - Scratch state for synchronous decoding of one sample blockโs columns. The caller reserves decoded column memory before allocating this output buffer. A stream owns one decoder and reuses it for every block it reads; no buffer or context is shared with another stream or retained in a cache.
Enumsยง
- Compression ๐
Constantsยง
- COLUMN_
LIMIT ๐ - COLUMN_
STORED_ ๐LIMIT - DICTIONARY ๐
- INTEGER ๐
- MODERN_
FRAME_ ๐MAGIC - The magic number every modern zstd frame starts with, little-endian.
- RELEASED_
OUTPUT_ ๐BYTES - Output scratch a released decoder keeps: the next block of the same stream reuses the allocation instead of growing a new one.
Functionsยง
- checksum ๐
- compress ๐
- decode_
dictionary ๐ - decode_
integers ๐ - decompress ๐
- encode_
dictionary ๐ - encode_
integers ๐ - put_
string ๐ - put_u32 ๐
- put_u64 ๐
- put_
varint ๐