Method WriteBase64
- Namespace
- Alternet.FormDesigner.Wpf.XamlDom
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
WriteBase64(byte[], int, int)
When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text.
public override void WriteBase64(byte[] buffer, int index, int count)
Parameters
buffer
byte[]Byte array to encode.
index
intThe position in the buffer indicating the start of the bytes to write.
count
intThe number of bytes to write.
Exceptions
- ArgumentNullException
buffer
is null.- ArgumentOutOfRangeException
index
orcount
is less than zero. -or-The buffer length minusindex
is less thancount
.- InvalidOperationException
An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”