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.