readUnsignedByte Method (BinaryDataInput)
In This Topic
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.
Syntax
'Declaration
Function readUnsignedByte() As Byte
Return Value
The next byte-aligned unsigned byte (8 bit) from the input, as an int.
Exceptions
Exception | Description |
EOFException | If the end-of file was reached before getting
all the necessary data.
|
IOException | If an I/O error ocurred.
|
See Also