Gio.DataOutputStream.prototype.put_uint16
function put_uint16(data: Number(guint16), cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for g_data_output_stream_put_uint16()
}
Puts an unsigned 16-bit integer into the output stream.
- data
a #guint16.
- cancellable
optional Gio.Cancellable object, null to ignore.
- Returns
true if data was successfully added to the stream.