[][src]Struct binary_rw::BinaryReader

pub struct BinaryReader { /* fields omitted */ }

Implementations

impl BinaryReader[src]

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

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

pub fn get_cur_pos(&mut self) -> Result<u64, BinaryError>[src]

pub fn read_string(&mut self) -> Result<String, BinaryError>[src]

pub fn read_f32(&mut self) -> Result<f32, BinaryError>[src]

pub fn read_f64(&mut self) -> Result<f64, BinaryError>[src]

pub fn read_isize(&mut self) -> Result<isize, BinaryError>[src]

pub fn read_usize(&mut self) -> Result<usize, BinaryError>[src]

pub fn read_u64(&mut self) -> Result<u64, BinaryError>[src]

pub fn read_i64(&mut self) -> Result<i64, BinaryError>[src]

pub fn read_u32(&mut self) -> Result<u32, BinaryError>[src]

pub fn read_i32(&mut self) -> Result<i32, BinaryError>[src]

pub fn read_u16(&mut self) -> Result<u16, BinaryError>[src]

pub fn read_i16(&mut self) -> Result<i16, BinaryError>[src]

pub fn read_u8(&mut self) -> Result<u8, BinaryError>[src]

pub fn read_i8(&mut self) -> Result<i8, BinaryError>[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.