Reads the content and returns the Base64 decoded binary bytes.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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

returnValue = instance.ReadContentAsBase64(buffer, index, count)

Syntax

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

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.

Return Value

The number of bytes written to the buffer.

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