Skip to main content

decode_bit_string_ref

Function decode_bit_string_ref 

Source
pub fn decode_bit_string_ref(data: &[u8]) -> Result<(u8, &[u8]), Error>
Expand description

Decode a bit string from content bytes without copying its data octets.

Returns (unused_bits, data), data borrowed from the contents.