Struct ruzstd::decoding::bit_reader_reverse::BitReaderReversed
source · pub struct BitReaderReversed<'s> { /* private fields */ }
Implementations§
source§impl<'s> BitReaderReversed<'s>
impl<'s> BitReaderReversed<'s>
pub fn bits_remaining(&self) -> isize
pub fn new(source: &'s [u8]) -> BitReaderReversed<'_>
pub fn get_bits(&mut self, n: u8) -> Result<u64, GetBitsError>
pub fn get_bits_triple( &mut self, n1: u8, n2: u8, n3: u8 ) -> Result<(u64, u64, u64), GetBitsError>
pub fn reset(&mut self, new_source: &'s [u8])
Auto Trait Implementations§
impl<'s> RefUnwindSafe for BitReaderReversed<'s>
impl<'s> Send for BitReaderReversed<'s>
impl<'s> Sync for BitReaderReversed<'s>
impl<'s> Unpin for BitReaderReversed<'s>
impl<'s> UnwindSafe for BitReaderReversed<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more