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

System.Xml.XmlWriter.WriteBinHex Method

Encodes the specified binary bytes as BinHex and writes the resulting text. [Edit]

public virtual void WriteBinHex (byte[] buffer, int index, int count)

Parameters

buffer
A byte array containing the bytes to encode. [Edit]
index
A int specifying the position within the array of the first byte to encode. [Edit]
count
A int specifying the number of bytes to encode. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionbuffer is null. [Edit]
ArgumentExceptionThe buffer length minus index is less than count. [Edit]
ArgumentOutOfRangeExceptionindex or count is less than zero. [Edit]
InvalidOperationExceptionThe XmlWriter.WriteState is WriteState.Closed. [Edit]

Remarks

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

Operation
As described above.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

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