Skip to main content

read_var_bytes

Function read_var_bytes 

Source
pub fn read_var_bytes(
    data: &[u8],
    offset: usize,
) -> Result<(&[u8], usize), AccessError>
Expand description

Reads a payload-layer variable byte field and returns the field plus next offset.