Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
从 QABinaryMessage 实例主体的未读部分开始读取最大数量的字节并将其存储到 [dest] 数组中。
Public Function ReadBinary( ByVal dest As Byte(), ByVal length As Integer ) As Integer
public int ReadBinary(byte[] dest, int length)
dest 包含所读字节的字节数组。
length 要读取的最大字节数。
从消息主体读取的字节数;如果不存在其它可用字节,则返回 -1。
QAException 类 如果读取字节时出现错误,则抛出
ReadBinary(dest,len) 方法与以下方法的效果相同:ReadBinary(dest,0,len)