Skip to main content

extent

Function extent 

Source
pub fn extent(
    buf: &[u8],
    at: usize,
    type_code: u16,
) -> Result<Option<(usize, usize)>, Error>
Expand description

Where the value of a field of type type_code is, if the header ended at at: (value start, length). None for an object or array: their value runs up to the end marker.