readFloat

 

public float readFloat() throws IOException, EOFException;

Reads a double from the current position in the message buffer.

Returns

  • a big-endian float if encoding equals MQC.MQENC_INTEGER_NORMAL, a little-endian float if it equals MQC.MQENC_INTEGER_REVERSED, or a zSeries format floating point number if it equals MQC.MQENC_FLOAT_S390.

Exceptions

  • IOException - if encoding is none of these.

  • EOFException - if the read goes beyond the end of file.


uj13800_