DataOutputStream.putInt16

Puts a signed 16-bit integer into the output stream.

class DataOutputStream
bool
putInt16

Parameters

data short

a #gint16.

cancellable Cancellable

optional #GCancellable object, %NULL to ignore.

Return: %TRUE if @data was successfully added to the @stream.

Throws

GException on failure.

Meta