Skip to main content

descriptor_bytes

Function descriptor_bytes 

Source
pub(super) fn descriptor_bytes(columns: usize) -> usize
Expand description

Descriptor bytes for a block with columns column descriptors.

Independent of the key’s length: the descriptor references the key, it does not hold it. This is the one place the descriptor size formula lives, for the writer’s page planning and for readers that inspect decoded pages.