Skip to main content

decode_slice

Function decode_slice 

Source
pub fn decode_slice(bytes: &[u8]) -> Result<Btic, BticError>
Expand description

Decode from a byte slice, checking that the length is exactly 24.