gDataInputStreamReadUint16: gDataInputStreamReadUint16

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Reads an unsigned 16-bit/2-byte value from stream.

Usage

1
gDataInputStreamReadUint16(object, cancellable = NULL, .errwarn = TRUE)

Arguments

object

a given GDataInputStream.

cancellable

optional GCancellable object, NULL to ignore.

.errwarn

Whether to issue a warning on error or fail silently

Details

In order to get the correct byte order for this read operation, see gDataStreamGetByteOrder() and gDataStreamSetByteOrder().

Value

A list containing the following elements:

retval

[integer] an unsigned 16-bit/2-byte value read from the stream or 0 if an error occurred.

error

GError for error reporting.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.