getFileData

Get the uncompressed data of a file inside the input THOR.

This function will always allocate new memory and always call the uncompressing routines.

Parameters

thor THOR

The THOR to read the file from

file THORFile

The metadata about the file to be read

useCache Flag!"useCache"

Return the data from cache if it exists

Return Value

Type: ubyte[]

The uncompressed file data

Meta