Struct mila::BinArchiveReader[][src]

pub struct BinArchiveReader<'a> { /* fields omitted */ }

Implementations

impl<'a> BinArchiveReader<'a>[src]

pub fn new(archive: &'a BinArchive, position: usize) -> Self[src]

pub fn archive(&self) -> &'a BinArchive[src]

pub fn seek(&mut self, position: usize)[src]

pub fn skip(&mut self, amount: usize)[src]

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

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

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

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

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

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

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

pub fn read_bytes(&mut self, count: usize) -> Result<Vec<u8>, ArchiveError>[src]

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

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

pub fn read_label(
    &mut self,
    index: usize
) -> Result<Option<String>, ArchiveError>
[src]

pub fn read_labels(&mut self) -> Result<Option<Vec<String>>, ArchiveError>[src]

pub fn read_pointer(&mut self) -> Result<Option<usize>, ArchiveError>[src]

Trait Implementations

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.