readBinary method

Syntax
int QABinaryMessage.readBinary(
  byte[] dest,
  int offset, 
  int length
)
throws QAException
Parameters
  • dest   The byte array to hold the read bytes.

  • offset   The start offset of the destination array.

  • length   The maximum number of bytes to read.

Throws
  • Thrown if there was a conversion error reading the value or if there is no more input.

Remarks

Reads a specified number of bytes starting from the unread portion of a QABinaryMessage instance body and stores them into the array dest starting at dest[offset].

See Also

writeBinary method

Returns

The number of bytes read from the message body.