THOR

Holds information about a THOR file.

Constructors

this
this(string name)

Opens the filehandle and stores the filesize

Members

Variables

filehandle
File filehandle;

Filehandle that is used to read any data from

filename
string filename;

Filename of the THOR file

files
THORFiletable files;

Associative array of the files. Will be filled once zthor.thor.readFiletable is called.

filesize
size_t filesize;

Filesize of the THOR file

header
THORHeader header;

THOR header. Will be filled once zthor.thor.readHeader is called.

Examples

import zthor.types;

THOR thor = THOR("my-patch.thor");

Meta