SdlLoad
Load all the data from a file path.
The data is allocated with a zero byte at the end (null terminated) for convenience.
The data should be freed with SdlFree.
Definition
Unit: Neslib.Sdl3.IO
Parameters
AFilename
: String
: The path to read all available data from.
Returns
Pointer
: The data.
Exceptions
ESdlError
: Raised on failure.
See Also
Remarks
This function is not thread safe.