TibrvMsg::getAsBytes()
Method
Declaration
TibrvStatus getAsBytes
(const void*& bytePtr);
Purpose
Extract the data from a message as a byte sequence.
Remarks
Return a copy of the message data as a byte sequence, suitable for archiving in a file. To reconstruct the message from bytes, see TibrvMsg().
The byte data includes the message header and all message fields in Rendezvous wire format. It does not include address information, such as the subject and reply subject, nor certified delivery information.
The byte sequence can contain interior NULL
bytes.
Parameter |
Description |
|
The program supplies a variable. The method stores a pointer to the byte sequence in that variable. |