Expand description
Node record constants
Constantsยง
- ADJACENCY_
METADATA_ SIZE - Size of adjacency metadata after variable-length fields
- DATA_
LEN_ SIZE - FIXED_
HEADER_ SIZE - Fixed size of node record header before variable-length fields
- FLAGS_
SIZE - ID_SIZE
- INCOMING_
COUNT_ SIZE - INCOMING_
OFFSET_ SIZE - KIND_
LEN_ SIZE - MAX_
DATA_ LENGTH - MAX_
STRING_ LENGTH - Maximum allowed string lengths to prevent allocation attacks
- MAX_
STRING_ LENGTH_ U32 - Maximum allowed string lengths as u32 for compatibility with error types
- NAME_
LEN_ SIZE - NODE_
SLOT_ SIZE - Size of each node slot in bytes (fixed 4KB for V2 format)
- OUTGOING_
COUNT_ SIZE - OUTGOING_
OFFSET_ SIZE