3rd Party Libraries
Recent Additions
Handles Parser
Discord
files
WriteFileCell
File
WriteFileCell
Last Updated
2007-12-16
Created At
2007-12-16
Writes a single binary cell to a file.
stock
bool
WriteFileCell(
Handle
hndl
,
int
data
,
int
size
)
Parameters
Handle
hndl
Handle to the file.
int
data
Cell to write to the file.
int
size
Size of the data to read in bytes. Valid sizes are 1, 2, or 4 bytes. If the size is less than 4 bytes, the data is truncated rather than casted. That is, only the lower bits will be read.
Return Value
bool
True on success, false on error.
Error
Invalid Handle.