Write

Last Updated2020-07-09
Created At2014-11-19

Writes binary data to a file.

native bool Write(const any[] items, int num_items, int size)

Parameters

const any[] items
Array of items to write. The data is read directly. That is, in 1 or 2-byte mode, the lower byte(s) in each cell are used directly, rather than performing any casts from a 4-byte number to a smaller number.
int num_items
Number of items in the array.
int size
Size of each item in the array in bytes. Valid sizes are 1, 2, or 4.

Return Value

bool True on success, false on error.