Method GetResourceData
GetResourceData(string, ResRefType)
Gets the raw data of the specified resource.
public byte[]? GetResourceData(string name, ResRefType type)
Parameters
namestringThe resource name to retrieve.
typeResRefTypeThe type of resource to retrieve.
Returns
- byte[]
The raw data of the associated resource, otherwise null if the resource does not exist.