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

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
)

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.
Remarks

This parameter is mandatory. A special value of 0 may be supplied to indicate that the queue manager's ccsid should be used.

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