readUInt2

 

public int readUInt2() throws IOException;

Identical to readUnsignedShort(), provided for cross-language WebSphere MQ API compatibility.

Returns

  • an int which contains a big-endian short if encoding is equal to MQC.MQENC_INTEGER_NORMAL, or a little-endian short if it is equal to MQC.MQENC_INTEGER_REVERSED.

Exceptions

  • IOException - if there is a problem with IO.


uj13950_