WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
GetBuffer Method
NamespacesIBM.Broker.PluginNBMessageGetBuffer()()()()
SUMMARY
Gets a copy of the data buffer associated with (and owned by) the message object.
Declaration Syntax
C#Visual BasicVisual C++F#
public byte[] GetBuffer()
Public Function GetBuffer As Byte()
public:
array<unsigned char>^ GetBuffer()
member GetBuffer : unit -> byte[] 
Return Value
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).

Assembly: IBM.Broker.Plugin (Module: IBM.Broker.Plugin) Version: 8.0.0.0