NBMessage GetBuffer Method IBM Integration Bus
Gets a copy of the data buffer associated with (and owned by) the message object.

Namespace: IBM.Broker.Plugin
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax

public byte[] GetBuffer()

Return Value

Type:  OnlineByte 
The data buffer associated with the message object.
Remarks

Causes the NBElement tree associated with the message to be written to the data buffer owned by that message object. This operation serializes the element tree into a bit stream, which is then returned as a sequence of contiguous bytes. This method should be used when writing the bitstream to a target that is outside the broker. (that is, when writing a user-defined output node).
See Also