NBElement AsBitStream Method (Int32, Int32, NBBitStreamControl)IBM Integration Bus
The AsBitStream method returns a BitStream representation (serialized form) of the NBElement's hierarchy being operated on, using the given encoding, ccsid and options.

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

public byte[] AsBitStream(
	int encoding,
	int ccsid,
	NBBitStreamControl options
)

Parameters

encoding
Type: OnlineSystem 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
Type: OnlineSystem Int32
The coded character set identifier to use when parsing the bit stream. This parameter is mandatory.
Remarks

A special value of 0 may be supplied to indicate that the queue manager's ccsid should be used.
options
Type: IBM.Broker.Plugin NBBitStreamControl
The NBBitStreamControl options used to generate the bit stream.

Return Value

Type:  OnlineByte 
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.
See Also