System.Xml.XmlReader.ReadContentAsBinHexAsync Method

Asynchronously reads the content and returns the BinHex decoded binary bytes.

Syntax

public virtual System.Threading.Tasks.Task<int> ReadContentAsBinHexAsync (byte[] buffer, int index, int count)

Parameters

buffer
The buffer into which to copy the resulting text. This value cannot be null.
index
The offset into the buffer where to start copying the result.
count
The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method.

Returns

The number of bytes written to the buffer.

Remarks

This is the asynchronous version of XmlReader.ReadContentAsBinHex(Byte[], int, int), with the same functionality. To use this method, you must set the XmlReaderSettings.Async flag to true.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 4.0.0.0