pub struct Extractor { /* private fields */ }Implementations§
Source§impl Extractor
impl Extractor
pub fn new() -> Extractor
pub fn from_vec(source: &Vec<u8>) -> Extractor
pub fn from_slice(source: &[u8]) -> Extractor
pub fn get_u8(&mut self) -> u8
pub fn get_u16(&mut self) -> u16
pub fn get_u32(&mut self) -> u32
pub fn get_u64(&mut self) -> u64
pub fn get_i8(&mut self) -> i8
pub fn get_i16(&mut self) -> i16
pub fn get_i32(&mut self) -> i32
pub fn get_i64(&mut self) -> i64
pub fn get_f32(&mut self) -> f32
pub fn get_f64(&mut self) -> f64
pub fn get_array(&mut self, length: usize) -> Vec<u8> ⓘ
pub fn get_vec_clone(&self) -> Vec<u8> ⓘ
pub fn get_length(&self) -> usize
pub fn check_remain(&self) -> usize
Auto Trait Implementations§
impl Freeze for Extractor
impl RefUnwindSafe for Extractor
impl Send for Extractor
impl Sync for Extractor
impl Unpin for Extractor
impl UnwindSafe for Extractor
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