Learn R Programming

RGtk2 (version 2.20.21)

gDataInputStreamReadUint16: gDataInputStreamReadUint16

Description

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

Usage

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

Arguments

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.errorGError for error reporting.

Details

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