[]
        
(Showing Draft Content)

CSJ2K.j2k.io.BinaryDataInput.readUnsignedShort

readUnsignedShort Method

readUnsignedShort()

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

Declaration
int readUnsignedShort()
Returns
Type Description
int

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