Struct blorb::Blorb [] [src]

pub struct Blorb<R: Read + Seek> {
    pub len: u32,
    // some fields omitted
}

Access point for lazy loading blorb contents. This struct contains the methods to load resources from the provided blorb. This does not cache the results.

Fields

The length of the IFRS chunk

Methods

impl<R: Read + Seek> Blorb<R>
[src]

Creates a new Blorb from a file. The code goes through the given game file, validates the file type, and extracts the basic game objects for the blorb.

loads a resource using the given index entry.