[][src]Crate ea_big

Library to decode ea .big files

use std::fs::File;
use std::io;

fn main() -> io::Result<()> {
    let file = File::open("./example.big");
    let (header, entries) = ea_big::from_reader(&file)?;

    let embed = ea_big::open_file(&file, &entries[0]);

    Ok(())   
}

Structs

EmbeddedFile

Helper struct to read a file embedded in the big file

Header

Header of the BIG file

TableEntry

A entry in the table of indices

Functions

from_reader

Decodes the header and the indices table from a Reader

open_file

Returns a EmbeddedFile representing the TableEntry