Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kFile_Load ( const kChar path,
void *  data,
kSize size,
kAlloc  allocator 
)

Reads the specified file and provides the file contents in an array.

Parameters
pathPath to file.
dataReceives a pointer to the file contents.
sizeReceives the size of the file contents.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.