readDecimal2
public short readDecimal2() throws IOException;
Reads a 2-byte packed decimal number in the range -999 to 999.
- Returns
- a big-endian short if encoding equals MQC.MQENC_DECIMAL_NORMAL or a little-endian short if it equals MQC.MQENC_DECIMAL_REVERSED.
- Exceptions
- IOException - if there is a problem with IO.
uj13760_