Struct assembly_pack::pk::reader::PackFile [−][src]
pub struct PackFile<T> { /* fields omitted */ }
Expand description
A low level pack file reader
Implementations
Return the inner reader
Check for the magic bytes at the beginning of the file
Load the header from the end of the file
Load the header from the end of the file
Get an random access wrapper for the entries
pub fn get_file_stream<'b>(
&'b mut self,
entry: PKEntry
) -> PackStreamReader<'b, T>ⓘNotable traits for PackStreamReader<'b, T>impl<'b, T> Read for PackStreamReader<'b, T> where
T: Seek + BufRead,
pub fn get_file_stream<'b>(
&'b mut self,
entry: PKEntry
) -> PackStreamReader<'b, T>ⓘNotable traits for PackStreamReader<'b, T>impl<'b, T> Read for PackStreamReader<'b, T> where
T: Seek + BufRead,
Notable traits for PackStreamReader<'b, T>
impl<'b, T> Read for PackStreamReader<'b, T> where
T: Seek + BufRead,
Get a boxed reader for the file stream
Get some object with a read trait representing the data
Auto Trait Implementations
impl<T> RefUnwindSafe for PackFile<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for PackFile<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more