DataOutputStream.putInt16

bool putInt16(short data, gio.cancellable.Cancellable cancellable = null)

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

Parameters

dataa #gint16.
cancellableoptional #GCancellable object, null to ignore.

Returns

true if data was successfully added to the stream.

Throws

[ErrorWrap]