DataOutputStream.putUint16
bool putUint16(ushort data, gio.cancellable.Cancellable cancellable = null)Puts an unsigned 16-bit integer into the output stream.
Parameters
data | a #guint16. |
cancellable | optional #GCancellable object, null to ignore. |
Returns
true if data was successfully added to the stream.
Throws
[ErrorWrap]