[][src]Struct binary_rw::BinaryReader

pub struct BinaryReader { /* fields omitted */ }

Methods

impl BinaryReader[src]

pub fn new(filepath: &str, open_type: OpenType) -> BinaryReader[src]

pub fn seek_to(&mut self, position: u64) -> u64[src]

pub fn get_cur_pos(&mut self) -> u64[src]

pub fn read_string(&mut self) -> String[src]

pub fn read_f32(&mut self) -> f32[src]

pub fn read_f64(&mut self) -> f64[src]

pub fn read_isize(&mut self) -> isize[src]

pub fn read_usize(&mut self) -> usize[src]

pub fn read_u64(&mut self) -> u64[src]

pub fn read_i64(&mut self) -> i64[src]

pub fn read_u32(&mut self) -> u32[src]

pub fn read_i32(&mut self) -> i32[src]

pub fn read_u16(&mut self) -> u16[src]

pub fn read_i16(&mut self) -> i16[src]

pub fn read_u8(&mut self) -> u8[src]

pub fn read_i8(&mut self) -> i8[src]

pub fn read_bytes(&mut self, length: u64) -> Vec<u8>[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]