Module file

Source
Expand description

Module file entry containing metadata relating to tags and functions to read them.

Structsยง

DataOffsetType
Flags for the last 2 bytes of the data offset.
FileEntryFlags
Flags that determine how a tag should be read.
ModuleFileEntry
Module file entry structure containing metadata relating to file and required buffer sizes and offsets for the decompressor, as well as global tag ID, resource references and class.

Traitsยง

TagStructure
Trait for defining tag structures.

Functionsยง

read_compressed_block ๐Ÿ”’ โš 
Reads and decompresses a compressed block of data.
read_single_block ๐Ÿ”’
Reads a single block of data from the file.
read_uncompressed_block ๐Ÿ”’
Reads an uncompressed block of data from the file.