pub fn decode_from_slice( input: &[u8], output: &mut [u8], ) -> Result<usize, DecodeSliceError>
Convenient helper function to directly decode arbitrary data from a destination byte slice.