- offset
The zero-based index into the array specifying where the method can begin to write to the buffer.
- array
The byte array that serves as the buffer to which the decoded binary bytes are written.
- offset
The zero-based index into the array specifying where the method can begin to write to the buffer.
- len
The number of bytes to write into the buffer.
![]()
The number of bytes written to your buffer.
Type Reason ArgumentNullException array is null. ArgumentOutOfRangeException offset < 0, or len < 0.
-or-
len > array.Length - offset.
System.Xml.XmlException The BinHex sequence is not valid.
In the dnprdnext release, the recommended practice is to create System.Xml.XmlReader instances using the erload:System.Xml.XmlReader.Create method. This allows you to take full advantage of the new features introduced in this release. For more information, see Creating XML Readers.
Like XmlTextReader.ReadChars(Char[], int, int), this method can be called successively to read large streams of embedded text. It decodes BinHex content and returns the decoded binary bytes (for example, an inline BinHex encoded GIF image) into the buffer.