DataOutputStream.putInt16

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

class DataOutputStream
int
putInt16

Parameters

data short

a gint16.

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

Return Value

Type: int

TRUE if data was successfully added to the stream.

Throws

GException on failure.

Meta