pub struct BitStream<'a> { /* private fields */ }Implementations§
Source§impl<'a> BitStream<'a>
impl<'a> BitStream<'a>
pub fn new(buffer: &'a [u8]) -> Self
pub fn attach(&mut self, buffer: &'a [u8])
pub fn get(&mut self, how_many: usize) -> Int32u
pub fn getb(&mut self) -> bool
pub fn get1(&mut self, how_many: usize) -> Int8u
pub fn get2(&mut self, how_many: usize) -> Int16u
pub fn get4(&mut self, how_many: usize) -> Int32u
pub fn get8(&mut self, how_many: usize) -> Int64u
pub fn skip(&mut self, how_many: usize)
pub fn skipb(&mut self)
pub fn skip1(&mut self, how_many: usize)
pub fn skip2(&mut self, how_many: usize)
pub fn skip4(&mut self, how_many: usize)
pub fn skip8(&mut self, how_many: usize)
pub fn peek(&mut self, how_many: usize) -> Int32u
pub fn peekb(&mut self) -> bool
pub fn peek1(&mut self, how_many: usize) -> Int8u
pub fn peek2(&mut self, how_many: usize) -> Int16u
pub fn peek3(&mut self, how_many: usize) -> Int32u
pub fn peek4(&mut self, how_many: usize) -> Int32u
pub fn peek8(&mut self, how_many: usize) -> Int64u
pub fn bookmark_pos(&mut self, set: bool)
pub fn remain(&self) -> Int32u
pub fn byte_align(&mut self)
pub fn offset_get(&self) -> usize
pub fn bit_offset_get(&self) -> usize
pub fn offset_before_last_call_get(&self) -> usize
pub fn buffer_under_run(&self) -> bool
Auto Trait Implementations§
impl<'a> Freeze for BitStream<'a>
impl<'a> RefUnwindSafe for BitStream<'a>
impl<'a> Send for BitStream<'a>
impl<'a> Sync for BitStream<'a>
impl<'a> Unpin for BitStream<'a>
impl<'a> UnsafeUnpin for BitStream<'a>
impl<'a> UnwindSafe for BitStream<'a>
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