Skip to content

Revision 3 stores integer keys as a high part plus lower bit fields, and packs every field with integer groups.

SEAM 1 writers produce this revision at store format 2 or higher, when nvars is 1 or 2, all keys are 9-byte keys with one tag, all payloads are plain varints, and the packed block is at most three quarters the size of the revision 2 block.

The value starts with 0x00 and the next byte is 0xE3. See Block head.

After the common head:

Field Encoding Meaning
nvars u8, 1 or 2 number of payload variables per entry
tag u8 the key tag byte of the 9-byte integer keys
keys see integer groups the bit-split keys
payloads nvars times group(n) one integer group of n values per payload variable

The keys are 9-byte integer keys (the tag plus 8 bytes). Decoders check widths, field ranges, strict ordering and the exact length (SPEC V652, V731).

Revision 2 coded numeric keys as deltas. Revision 3 splits each key into bit fields and packs them in frames. Revision 3 came with pre-2; see pre-2.