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

System.Xml.XmlTextWriter.WriteBinHex Method

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

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

Parameters

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

Exceptions

TypeReason
ArgumentNullExceptionbuffer is null.
ArgumentExceptionThe buffer length minus index is less than count.
ArgumentOutOfRangeExceptionindex or count is less than zero.
InvalidOperationExceptionThe XmlTextWriter.WriteState is WriteState.Closed.

Remarks

Note:

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

This method overrides XmlWriter.WriteBinHex(Byte[], int, int).

Requirements

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