putInt16

open fun putInt16(data: Short, cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

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

Return

true if @data was successfully added to the @stream.

Parameters

data

a #gint16.

cancellable

optional #GCancellable object, null to ignore.