Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将布尔值附加到 QABinaryMessage 实例的消息主体中。
void QABinaryMessage.writeBoolean(boolean val) throws QAException
val 要写入消息主体的布尔值。
QAException 类 如果将布尔值附加到消息主体时存在问题,则抛出异常。
布尔值由一个单字节值表示。1 代表 true;0 代表 false。