3rd Party Libraries
Recent Additions
Handles Parser
Discord
files
ReadFileCell
File
ReadFileCell
Last Updated
2007-12-16
Created At
2007-12-16
Reads a single binary cell from a file.
stock
int
ReadFileCell(
Handle
hndl
,
int&
data
,
int
size
)
Parameters
Handle
hndl
Handle to the file.
int&
data
Variable to store the data read.
int
size
Size of the data to read in bytes. Valid sizes are 1, 2, or 4 bytes.
Return Value
int
Number of elements read (max 1), or -1 on error.
Error
Invalid Handle.