native

FileReadUint16

Syntax

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

Description

Reads a single unt16 (unsigned short) from a file. The 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