| Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > Init Method : Init(Byte[],Int32,Int32,FastInfosetCompression) Method |
The an array of bytes containing the Fast Infoset encoded XML data to read.
The offset in the array of bytes to start reading from.
The number of byte starting from the offset that contain FastInfoset encoded XML data.
'Declaration Public Overloads Sub Init( _ ByVal input() As System.Byte, _ ByVal offset As System.Integer, _ ByVal length As System.Integer, _ ByVal compression As FastInfosetCompression _ )
'Usage Dim instance As XmlFastInfosetReader Dim input() As System.Byte Dim offset As System.Integer Dim length As System.Integer Dim compression As FastInfosetCompression instance.Init(input, offset, length, compression)
public void Init( System.byte[] input, System.int offset, System.int length, FastInfosetCompression compression )
public procedure Init( input: System.Bytearray of; offset: System.Integer; length: System.Integer; compression: FastInfosetCompression );
public function Init( input : System.byte[], offset : System.int, length : System.int, compression : FastInfosetCompression );
public: void Init( System.byte[]* input, System.int offset, System.int length, FastInfosetCompression compression )
public: void Init( System.array<byte>^ input, System.int offset, System.int length, FastInfosetCompression compression )
The an array of bytes containing the Fast Infoset encoded XML data to read.
The offset in the array of bytes to start reading from.
The number of byte starting from the offset that contain FastInfoset encoded XML data.
Initializes the reader and sets it to use the provided array of bytes as input.
This method allows the reuse of the XmlFastInfosetReader for reading from another source.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2