Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader.ReadBinHex Method

Reads and decodes the BinHex encoded contents of an element and stores the result in a byte buffer. [Edit]

public int ReadBinHex (byte[] buffer, int offset, int length)

Parameters

buffer
Documentation for this section has not yet been entered. [Edit]
offset
A int specifying the zero-based index into array where the method should begin to write. [Edit]
length
Documentation for this section has not yet been entered. [Edit]
offset
Documentation for this section has not yet been entered. [Edit]

Returns

A int containing the number of bytes written to array, or zero if the current instance is not positioned on an element. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionarray is null. [Edit]
ArgumentOutOfRangeException

offset < 0, or len < 0.

-or-

len > array.Length - offset.

[Edit]
System.Xml.XmlExceptionThe BinHex sequence is not valid. [Edit]

Remarks

Note:

This method can be called successively to read large streams of embedded text.

For information on BinHex encoding, see RFC 1741 (http://www.ietf.org/rfc/rfc1741).

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0