readInt2
public short readInt2() throws IOException;
Identical to readShort(). Provided for cross-language WebSphere MQ API compatibility.
- Returns
- 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.
uj13840_