native

FileReadUint8

Syntax

native bool:FileReadUint8(file, &any:data);

Description

Reads a single uint8 (unsigned byte) from a file. The returned value is
zero-extended to an int32.

Parameters

file Handle to the file
data Variable to store the data read

Return

True on success, false on failure