Skip to main content

decode_node

Function decode_node 

Source
pub fn decode_node(buf: &[u8; 4096]) -> Result<DecodedNode>
Expand description

Decode a B+tree page into a DecodedNode.

ยงErrors

Returns Error::Corruption if any field is malformed: bad page-type tag, key-count exceeding the slot cap, slot offset outside the page, varint length running past the page end, or keys not in ascending order.