NBElement CreateBeforeFromBitStream Method ( Byte , String, Int32, Int32, String, String, String, NBBitStreamControl)IBM Integration Bus
The CreateBeforeFromBitStream method creates as the previous sibling a new NBElement and its hierarchy which is populated using the given BitStream, Parser, encoding, ccsid, messageSet, messageType, messageFormat and options.

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

public NBElement CreateBeforeFromBitStream(
	byte[] bitStream,
	string parserName,
	int encoding,
	int ccsid,
	string messageSet,
	string messageType,
	string messageFormat,
	NBBitStreamControl options
)

Parameters

bitStream
Type:  OnlineSystem Byte 
The bit stream to be parsed and added to the element tree.
parserName
Type: OnlineSystem String
The name of the parser class to use to parse the bit stream. The same parser must be used to parse the whole bit stream.
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.
messageSet
Type: OnlineSystem 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
Type: OnlineSystem 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
Type: OnlineSystem 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
Type: IBM.Broker.Plugin NBBitStreamControl
The NBBitStreamControl options used to parse the bitstream.

Return Value

Type: NBElement
The NBElement which is created.
See Also