Gets a copy of the data buffer associated with (and owned by) the message object.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
public byte[] GetBuffer()
public byte[] GetBuffer()
Public Function GetBuffer As Byte()
Public Function GetBuffer As Byte()
public:
array<unsigned char>^ GetBuffer()
public:
array<unsigned char>^ GetBuffer()
member GetBuffer : unit -> byte[]
member GetBuffer : unit -> byte[]
Return Value
Type:
Byte The data buffer associated with the message object.
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).