Table of Contents

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 int

The position in the buffer indicating the start of the bytes to write.

count int

The number of bytes to write.

Exceptions

ArgumentNullException

buffer is null.

ArgumentOutOfRangeException

index or count is less than zero. -or-The buffer length minus index is less than count.

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.”