RGtk2 (version 2.20.31)

gDataOutputStreamPutUint16: gDataOutputStreamPutUint16

Description

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

Usage

gDataOutputStreamPutUint16(object, data, cancellable = NULL, .errwarn = TRUE)

Arguments

data
a integer.
cancellable
optional GCancellable object, NULL to ignore.
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[logical] TRUE if data was successfully added to the stream.
error
a GError, NULL to ignore.