WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
AsBitStream Method (encoding, ccsid, messageSet, messageType, messageFormat, options)
NamespacesIBM.Broker.PluginNBElementAsBitStream(Int32, Int32, String, String, String, NBBitStreamControl)
SUMMARY
The AsBitStream method returns a BitStream representation (serialized form) of the NBElement's hierarchy being operated on, using the given encoding, ccsid, message set, message type, message format and options.
Declaration Syntax
C#Visual BasicVisual C++F#
public byte[] AsBitStream(
	int encoding,
	int ccsid,
	string messageSet,
	string messageType,
	string messageFormat,
	NBBitStreamControl options
)
Public Function AsBitStream ( _
	encoding As Integer, _
	ccsid As Integer, _
	messageSet As String, _
	messageType As String, _
	messageFormat As String, _
	options As NBBitStreamControl _
) As Byte()
public:
array<unsigned char>^ AsBitStream(
	int encoding, 
	int ccsid, 
	String^ messageSet, 
	String^ messageType, 
	String^ messageFormat, 
	NBBitStreamControl options
)
member AsBitStream : 
        encoding:int * 
        ccsid:int * 
        messageSet:string * 
        messageType:string * 
        messageFormat:string * 
        options:NBBitStreamControl -> byte[] 
Parameters
encoding (Int32)
The encoding to use when parsing the bit stream.
Remarks
A special value of 0 may be supplied to indicate that the queue manager's encoding should be used.
ccsid (Int32)
The coded character set identifier to use when parsing the bit stream.
Remarks
This parameter is mandatory. A special value of 0 may be supplied to indicate that the queue manager's ccsid should be used.
messageSet (String)
The message set definition used to create the element tree from the bit stream.
Remarks
A value of null will cause this parameter to be ignored.
messageType (String)
The message type definition used to create the element tree from the bit stream.
Remarks
A value of null will cause this parameter to be ignored.
messageFormat (String)
The message format definition used to create the element tree from the bit stream.
Remarks
A value of null will cause this parameter to be ignored.
options (NBBitStreamControl)
The NBBitStreamControl options used to generate the bit stream.
Return Value
Bitstream representation of the element and all its children.
Remarks
This method causes the parser associated with the element to serialize the element and all its children.

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