The CreateAfterFromBitStream method creates as the next sibling a new NBElement and its hierarchy which is populated using the given BitStream, Parser, encoding, ccsid and options.

C# | Visual Basic | Visual C++ | F# |
public NBElement CreateAfterFromBitStream( byte[] bitStream, string parserName, int encoding, int ccsid, NBBitStreamControl options )
Public Function CreateAfterFromBitStream ( _ bitStream As Byte(), _ parserName As String, _ encoding As Integer, _ ccsid As Integer, _ options As NBBitStreamControl _ ) As NBElement
public: NBElement^ CreateAfterFromBitStream( array<unsigned char>^ bitStream, String^ parserName, int encoding, int ccsid, NBBitStreamControl options )

- bitStream (array<Byte>[]()[][])
- The bit stream to be parsed and added to the element tree.
- parserName (String)
- The name of the parser class to use to parse the bit stream.
Remarks
The same parser must be used to parse the whole bit stream.
- 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. 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 (NBBitStreamControl)
- The NBBitStreamControl options used to parse the bitstream.

The NBElement which is created.