FileReadInt16

Syntax

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

Usage

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

Description

Reads a single int16 (short) from a file. The value is sign-extended to
an int32.

Return

True on success, false on failure