Crate nom_mpq

Source
Expand description

Nom Parsing the MoPaQ file format. Sources:

Re-exports§

pub use error::MPQResult;
pub use builder::MPQBuilder;
pub use error::MPQParserError;
pub use parser::MPQBlockTableEntry;
pub use parser::MPQFileHeader;
pub use parser::MPQHashTableEntry;
pub use parser::MPQUserData;

Modules§

builder
The MPQ Builder. Allows progressively creating the MPQ as the file is read.
error
Error handling of MPQ Parsing
parser
Nom Parsing the MPQ file format

Structs§

MPQ
The main MPQ object that contains the parsed entries

Constants§

COMPRESSION_BZ2
The sector is compressed using [bzip2]
COMPRESSION_PLAINTEXT
The sector has no compression
COMPRESSION_ZLIB
The sector is compressed using zlib
MPQ_FILE_COMPRESS
The sector is compressed
MPQ_FILE_ENCRYPTED
The sector is encrypted.
MPQ_FILE_EXISTS
The sector exists (as opposed to marked as deleted)
MPQ_FILE_SECTOR_CRC
The sector has cyclic redundancy check.
MPQ_FILE_SINGLE_UNIT
The sector contains a single file/unit.

Functions§

dbg_dmp
TEMP waiting for https://github.com/rust-bakery/nom/pull/1845 to be merged/released.