File.WriteInt16 Method

Writes a single int16 (short) to a file.

bool WriteInt16(int data)

Parameters

int data

Data to write (truncated to an int16).

Return Value

True on success, false on failure.