Skip to main content

decode_from_slice

Function decode_from_slice 

Source
pub fn decode_from_slice<'a, T>(input: &'a [u8]) -> Result<T, T::Error>
where T: FrameRead<'a>,
Expand description

Takes a mutable slice input and decodes it.