Skip to main content

TERM_WIDTH

Constant TERM_WIDTH 

Source
pub const TERM_WIDTH: [u8; 256];
Expand description

Total encoded width in bytes (type byte included) per term type id.

Index by the leading type byte of an encoded term. Widths follow write_term: one fixed-size payload per variant, no length prefixes, so the table is the definitive byte-walk map for hexastore keys. EncodedTerm::DefaultGraph encodes as zero bytes and has no type byte.