readBinary method

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

  • 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.

See Also

writeBinary method

Returns

The number of bytes read from the message body.