Skip to main content

Module codec

Module codec 

Source
Expand description

Column codec trait and implementations for the binary cache format.

Each column type has a dedicated codec that exploits the statistical properties of that column’s data for compact encoding. All codecs implement the ColumnCodec trait.

See docs/binary-cache-format.md for byte-level format documentation.

Structs§

EventTypeCodec
4-bit RLE-encoded event types.
InternedStringCodec
Interned string table with run-length-encoded u16 references.
ItemIdCodec
Dictionary-encoded item IDs with RLE-encoded u32 indices.
RawBytesCodec
Length-prefixed raw byte strings.
TimestampCodec
Delta-encoded varint timestamps.
ValueCodec
Type-specific value encoding for event payloads.

Traits§

ColumnCodec
Trait for encoding and decoding a single column of event data.