Expand description
Raw (identity) codec — no compression.
Passes data through unchanged. Used for symbol columns (already dictionary-encoded as 4-byte u32 IDs) or pre-compressed data.
Wire format:
[4 bytes] data length (LE u32)
[N bytes] raw dataThe length header is included for consistency with other codecs (allows the decoder to validate data integrity).
Structs§
- RawDecoder
- Raw decoder wrapper.
- RawEncoder
- Streaming Raw encoder.
Functions§
- decode
- Decode raw bytes (validates length header).
- decode_
ref - Return a reference to the raw data without copying (zero-copy decode).
- encode
- Encode raw bytes (identity codec with length header).