TibrvMsg.getAsBytes()

Method

Declaration

byte[] getAsBytes() throws TibrvException

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.

See Also

TibrvMsg()