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 接口

 

readBinary 方法

语法
int QABinaryMessage.readBinary(
  byte[] dest,
  int length
)
throws QAException
参数
  • dest   保存读取字节的字节数组。

  • length   要读取的最大字节数。

抛出条件
  • 如果读取值时发生转换错误或没有其它输入,则抛出。

注释

从 QABinaryMessage 实例主体的未读部分开始读取指定数量的字节。

另请参见

writeBinary 方法

返回值

从消息主体读取的字节数。