77
Java Objectinputstream readUnsignedShort() Method
The readUnsignedShort() method of ObjectInputStream class reads an unsigned 16 bit short.
Syntax
Parameter
No parameter is passed.
Returns
The 16-bit short read.
Throws
IOException
Example 1
Output:
short value: 32767
Example 2
Output:
readUnsignedShort() : 55676
Next TopicJava ObjectInputStream