DataInputStream.readByteData

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

class DataInputStream
ubyte
readByteData

Parameters

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

Return Value

Type: ubyte

an unsigned 8-bit/1-byte value read from the stream or 0 if an error occurred.