Expand description
Binary Tuple encoder: schema + values → compact byte representation.
Layout:
[magic: u32 LE = 0x5453_444E "NDST"] bytes 0..4
[format_version: u8 = 1] byte 4
[schema_version: u32 LE] bytes 5..9
[null_bitmap: ceil(N/8) bytes, bit=1 means NULL]
[fixed_fields: concatenated, zeroed when null]
[offset_table: (N_var + 1) × u32 LE]
[variable_data: concatenated variable-length bytes]Structs§
- Tuple
Encoder - Encodes rows into Binary Tuples according to a fixed schema.
Constants§
- FORMAT_
VERSION - Current Binary Tuple format version.
- MAGIC
- Magic bytes identifying a Binary Tuple:
"NDST"in little-endian.