native

FileReadInt8

Syntax

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

Description

Reads a single int8 (byte) from a file. The returned value is sign-
extended to an int32.

Parameters

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

Return

True on success, false on failure