Skip to main content

object_size

Function object_size 

Source
pub fn object_size(n: &[u8], at: usize) -> Result<usize, DecodeError>
Expand description

Size in nibbles of the object at nibble at. Fails on an unknown prolog, a truncated object or nesting deeper than MAX_DEPTH, with the offset into n where the walk stopped.