pub struct SonetReadBuf {
pub data: Vec<u8>,
/* private fields */
}Expand description
SonetReadBuf
Fields§
§data: Vec<u8>Implementations§
Source§impl SonetReadBuf
Default SonetReadBuf Implementation
impl SonetReadBuf
Default SonetReadBuf Implementation
pub fn new(data: Vec<u8>) -> Self
pub fn read_byte(&mut self) -> u8
pub fn read_short(&mut self) -> u16
pub fn read_int(&mut self) -> u32
pub fn read_long(&mut self) -> u64
pub fn read_bool(&mut self) -> bool
pub fn read_byte_array(&mut self) -> Vec<u8> ⓘ
pub fn read_short_array(&mut self) -> Vec<u16>
pub fn read_int_array(&mut self) -> Vec<u32>
pub fn read_long_array(&mut self) -> Vec<u64>
pub fn read_float(&mut self) -> f32
pub fn read_double(&mut self) -> f64
pub fn read_float_array(&mut self) -> Vec<f32>
pub fn read_double_array(&mut self) -> Vec<f64>
pub fn read_char(&mut self) -> char
pub fn read_string(&mut self) -> String
pub fn parse_types(&mut self, types: Vec<&'static str>) -> Vec<Box<dyn Any>>
Auto Trait Implementations§
impl Freeze for SonetReadBuf
impl RefUnwindSafe for SonetReadBuf
impl Send for SonetReadBuf
impl Sync for SonetReadBuf
impl Unpin for SonetReadBuf
impl UnwindSafe for SonetReadBuf
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