Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
从 QABinaryMessage 实例的消息主体的未读部分开始读取字符串值。
public virtual qa_int readString(qa_string dest, qa_int maxLen)
dest 从字节消息流读取的 qa_string 值的目标。
maxLen 要读取的最大字符数,包括空终止符。
返回读取到缓冲区的非空 qa_char 总数;如果没有其它数据或发生错误,则返回 -1;如果缓冲区过小,则返回 -2。