fwrite_raw

Signature
native fwrite_raw(file, const any:stream[], blocks, mode);
Description

Writes raw binary data to a file.

Parameters
  • file — Handle to the file.
  • stream — Array of items to write. The data is written 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.

  • blocks — Size of each item in the array in bytes.
  • mode — Number of items in the array.
Returns

Number of elements written

Назад
Верх