fread_raw

Синтаксис

native fread_raw(file, any:stream[], blocksize, blocks);

Употреба

file
Handle to the file
stream
Array to store each item read
blocksize
Number of items to read into the array
blocks
Size of each element, in bytes. 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.

Описание

Reads raw binary data from a file.

Връщаща стойност

Number of elements read