DataInputStream.readByteData

ubyte readByteData(gio.cancellable.Cancellable cancellable = null)

Reads an unsigned 8-bit/1-byte value from stream.

Parameters

cancellableoptional #GCancellable object, null to ignore.

Returns

an unsigned 8-bit/1-byte value read from the stream or 0

if an error occurred.

Throws

[ErrorWrap]