Skip to main content

encode

Function encode 

Source
pub fn encode(pager: &Pager, value: &[u8]) -> Result<Vec<u8>, ValueLayoutError>
Expand description

Apply the decision ladder and return the bytes the B-tree should persist in the leaf cell value slot. May allocate overflow pages through pager.