Skip to main content

decode_length_prefix

Function decode_length_prefix 

Source
pub fn decode_length_prefix(data: &[u8]) -> Result<u32>
Expand description

Decode a 4-byte big-endian length prefix from the start of a byte slice.