- close
void close(THOR thor)
Close the internal file handle of the THOR struct.
- getFileData
ubyte[] getFileData(THOR thor, THORFile file, Flag!"useCache" useCache)
ubyte[] getFileData(THORFile file, Flag!"useCache" useCache)
Get the uncompressed data of a file inside the input THOR.
- getFileData
ubyte[] getFileData(THOR thor, THORFile file, File thorHandle, Flag!"useCache" useCache)
Get the uncompressed data of a file inside the input THOR.
- getFileData
ubyte[] getFileData(THOR thor, wstring filename, Flag!"useCache" useCache)
Get the uncompressed data of a file inside the input THOR.
- open
void open(THOR thor)
Open the internal filehandle of the THOR struct.
- parse
THOR parse(THOR thor, const(wstring)[] filters, Flag!"includeRemovals" includeRemovals)
Parses a THOR file given optional filters.
- readFiletable
THOR readFiletable(THOR thor, const(wstring)[] filters, Flag!"includeRemovals" includeRemovals)
Parses the filetable of the given THOR.
If filters is provided then only the files which
matches the filters will be loaded.
- readHeader
THOR readHeader(THOR thor)
Parses the header of the given THOR