load-file-data ( fileName bytesRead -- uchar* )
Raylib memory ownership

Next:load-file-data-bytes ( fileName -- bytes/f )


Vocabulary
raylib

Inputs
fileNamea c-string
bytesReada pointer to a int


Outputs
uchar*a c-ptr


Word description
Returns the original native binary allocation and writes its byte count to bytesRead. Release the pointer with unload-file-data. The data may contain NUL and non-UTF8 bytes; it is not a C string. Use load-file-data-bytes for an owned Factor byte array.

Definition


LIBRARY: raylib FUNCTION-ALIAS: load-file-data uchar*
LoadFileData ( c-string fileName, int* bytesRead )