getFileData

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

This function will allocate new memory and always call the uncompressing routines _unless_ cache is set to true.

Parameters

thor THOR

The THOR to read the file from

file THORFile

The metadata about the file to be read

thorHandle File

Use this file handle instead of the one from thor

useCache Flag!"useCache"

Return the data from cache if it exists

Return Value

Type: ubyte[]

The unencrypted and uncompressed file data

Meta