diff --git a/src/syn/io/uper.rs b/src/syn/io/uper.rs index eba21bf..81aa8ff 100644 --- a/src/syn/io/uper.rs +++ b/src/syn/io/uper.rs @@ -751,6 +751,11 @@ impl<'a> From<(&'a [u8], usize)> for UperReader> { } impl UperReader { + #[inline] + pub fn into_bits(self) -> B { + self.bits + } + #[inline] fn read_length_determinant( &mut self,