Struct binaryRW::BinaryReader
source · pub struct BinaryReader { /* private fields */ }
Implementations
sourceimpl BinaryReader
impl BinaryReader
pub fn new(filepath: &str) -> BinaryReader
pub fn seek_to(&mut self, position: u64) -> u64
pub fn get_cur_pos(&mut self) -> u64
pub fn read_string(&mut self) -> String
pub fn read_u64(&mut self) -> u64
pub fn read_i64(&mut self) -> i64
pub fn read_u32(&mut self) -> u32
pub fn read_i32(&mut self) -> i32
pub fn read_u16(&mut self) -> u16
pub fn read_i16(&mut self) -> i16
pub fn read_u8(&mut self) -> u8
pub fn read_i8(&mut self) -> i8
Auto Trait Implementations
impl RefUnwindSafe for BinaryReader
impl Send for BinaryReader
impl Sync for BinaryReader
impl Unpin for BinaryReader
impl UnwindSafe for BinaryReader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more