DataOutputStream.putInt16

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

class DataOutputStream
bool
putInt16

Parameters

data short

a #gint16.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

Return Value

Type: bool

true if data was successfully added to the stream.