pub struct BinaryParser<'de> { /* private fields */ }Implementations§
Source§impl<'de> BinaryParser<'de>
impl<'de> BinaryParser<'de>
pub fn new(input: &'de [u8], config: Config) -> Self
pub fn input(&self) -> &'de [u8] ⓘ
pub fn config(&self) -> &Config
pub fn size(&self) -> usize
pub fn bool(&mut self) -> Result<bool>
pub fn i8(&mut self) -> Result<i8>
pub fn i16(&mut self) -> Result<i16>
pub fn i32(&mut self) -> Result<i32>
pub fn i64(&mut self) -> Result<i64>
pub fn i128(&mut self) -> Result<i128>
pub fn u8(&mut self) -> Result<u8>
pub fn u16(&mut self) -> Result<u16>
pub fn u32(&mut self) -> Result<u32>
pub fn u64(&mut self) -> Result<u64>
pub fn u128(&mut self) -> Result<u128>
pub fn f32(&mut self) -> Result<f32>
pub fn f64(&mut self) -> Result<f64>
pub fn char(&mut self) -> Result<char>
pub fn string(&mut self) -> Result<&'de str>
pub fn bytes(&mut self, size: usize) -> Result<&'de [u8]>
pub fn container_size(&mut self) -> Result<usize>
Auto Trait Implementations§
impl<'de> Freeze for BinaryParser<'de>
impl<'de> RefUnwindSafe for BinaryParser<'de>
impl<'de> Send for BinaryParser<'de>
impl<'de> Sync for BinaryParser<'de>
impl<'de> Unpin for BinaryParser<'de>
impl<'de> UnwindSafe for BinaryParser<'de>
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