Encodes the specified binary bytes as Base64 and writes out the resulting text.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As DelegatingXmlDictionaryWriter
Dim buffer As Byte()
Dim index As Integer
Dim count As Integer

instance.WriteBase64(buffer, index, count)

Syntax

Visual Basic
Public Overrides Sub WriteBase64 ( _
		buffer As Byte(), _
		index As Integer, _
		count As Integer _
)
C#
public override void WriteBase64 (
		byte[] buffer,
		int index,
		int count
)
C++
public:
virtual void WriteBase64 (
		array<unsigned char>^ buffer, 
		int index, 
		int count
) override
J#
public void WriteBase64 (
		byte[] buffer, 
		int index, 
		int count
)
JScript
public override function WriteBase64 (
		buffer : byte[], 
		index : int, 
		count : int
)

Parameters

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also