read_byte


Description:

public uint8 read_byte (Cancellable? cancellable = null) throws IOError

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

Parameters:

this

a given DataInputStream.

cancellable

optional Cancellable object, null to ignore.

Returns:

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