Asynchronously encodes the specified binary bytes as Base64 and writes out the resulting text.
buffer Byte array to encode.index The position in the buffer indicating the start of the bytes to write.count The number of bytes to write.
The task that represents the asynchronous WriteBase64 operation.
This is the asynchronous version of XmlWriter.WriteBase64(Byte[], int, int), with the same functionality. To use this method, you must set the XmlWriterSettings.Async flag to true.