gDataInputStreamReadUint32

Share:

Description

Reads an unsigned 32-bit/4-byte value from stream.

Usage

1
gDataInputStreamReadUint32(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().

If cancellable is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned.

Value

A list containing the following elements:

retval

[numeric] an unsigned 32-bit/4-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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.