zStatus zFile_Load(const zChar* path, zByte** data, zUIntPtr* size);
|
Parameters |
Description |
|
const zChar* path |
Path to the file. |
|
zByte** data |
Receives a pointer to the file contents. |
|
zUIntPtr* size |
Receives the size of the file contents. |
Reads the specified file and provides the file contents in an array.
Memory allocated with this function should be freed with the zFree function.
zFile.h