Javatpoint Logo
Javatpoint Logo

Java ObjectInputStream readUnsingedByte() Method

The readUnsignedByte() method of ObjectInputStream class reads an unsigned 8 bit byte.

Syntax

Parameter

No parameter is passed.

Returns

The 8-bit byte read.

Throws

IOException

Example 1

Output:

byte value: 255

Example 2

Output:

readUnsignedShort() : 124





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA