QABinaryMessage interface

An QABinaryMessage object is used to send a message containing a stream of uninterpreted bytes. It inherits from the QAMessage class and adds a bytes message body. QABinaryMessage provides a variety of functions to read from and write to the bytes message body.

When the message is first created, the body of the message is in write-only mode. After a message has been sent, the client that sent it can retain and modify it without affecting the message that has been sent. The same message object can be sent multiple times.

When a message is received, the provider has called QABinaryMessage.Reset() so that the message body is in read-only mode and reading of values starts from the beginning of the message body.

Syntax
Visual Basic
Public Interface QABinaryMessage
C#
public interface QABinaryMessage

QABinaryMessage members
BodyLength property
ReadBinary method
ReadBoolean method
ReadChar method
ReadDouble method
ReadFloat method
ReadInt method
ReadLong method
ReadSbyte method
ReadShort method
ReadString method
Reset method
WriteBinary method
WriteBoolean method
WriteChar method
WriteDouble method
WriteFloat method
WriteInt method
WriteLong method
WriteSbyte method
WriteShort method
WriteString method