[−][src]Struct binary_rw::BinaryReader
Implementations
impl BinaryReader[src]
pub fn new(
filepath: &str,
open_type: OpenType
) -> Result<BinaryReader, BinaryError>[src]
filepath: &str,
open_type: OpenType
) -> Result<BinaryReader, BinaryError>
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
impl RefUnwindSafe for BinaryReader
impl Send for BinaryReader
impl Sync for BinaryReader
impl Unpin for BinaryReader
impl UnwindSafe for BinaryReader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,