[]
        
(Showing Draft Content)

CSJ2K.j2k.io.BufferedRandomAccessFile.readUnsignedByte

readUnsignedByte Method

readUnsignedByte()

Should read an unsigned byte (i.e., 8 bit) from the input. It is returned as an int since Java does not have an unsigned byte type. Prior to reading, the input should be realigned at the byte level.

Declaration
public byte readUnsignedByte()
Returns
Type Description
byte

The next byte-aligned unsigned byte (8 bit) from the input, as an int.

Implements