writeDecimal4

 

public void writeDecimal4(int v) throws IOException;

Writes a 4-byte packed decimal format number into the message buffer at the current position. The behavior of this method is determined by encoding. A value of MQC.MQENC_DECIMAL_NORMAL writes a big-endian packed decimal and a value of MQC.MQENC_DECIMAL_REVERSED writes a little-endian packed decimal.

Parameters

  • v - is the number to be written in the range -9,999,999 to 9,999,999.

Exceptions

  • IOException - if there is a problem with IO.


uj14120_