writeShort

 

public void writeShort(int v) throws IOException;

Writes a short into the message buffer at the current position. The behavior of this method is determined by encoding.

Values of MQC.MQENC_INTEGER_NORMAL and MQC.MQENC_INTEGER_REVERSED write shorts in big-endian and little-endian formats respectively.

A value of MQC.MQENC_FLOAT_S390 writes a zSeries format floating point number.

Parameters

  • v - the long to be written.

Exceptions

  • IOException - if there is a problem with IO.


uj14230_