fread_blocks

Синтаксис

native fread_blocks(file, any:data[], blocks, mode);

Употреба

file
Handle to the file
data
Array to store each item read
blocks
Number of items to read into the array
mode
Size of each element, in bytes, to be read
Valid sizes are 1, 2, or 4. See BLOCK_* constants.

Описание

Reads binary data from a file.

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

Number of elements read