Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere Java API 参考 » 用于客户端的 QAnywhere Java API » QABinaryMessage 接口

 

writeBinary 方法

语法
void QABinaryMessage.writeBinary(
  byte[] val,
  int offset,
  int len
)
throws QAException
参数
  • val   写入消息主体的字节数组值。

  • offset   要开始写入的字节数组内的偏移。

  • len   要写入的字节数。

抛出条件
  • 如果将字节数组附加到消息主体时存在问题,则抛出。

注释

将字节数组值附加到 QABinaryMessage 实例的消息主体中。

另请参见

readBinary 方法