DataOutputStream.putUint16

bool putUint16(ushort data, gio.cancellable.Cancellable cancellable = null)

Puts an unsigned 16-bit integer into the output stream.

Parameters

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

Returns

true if data was successfully added to the stream.

Throws

[ErrorWrap]