pub fn decode_from_slice<'a, T>(input: &'a [u8]) -> Result<T, T::Error>where T: FrameRead<'a>,
Takes a mutable slice input and decodes it.