XmlSerializationWriter.FromByteArrayBase64 Method (Byte[])


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Processes a base-64 byte array.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

protected static byte[] FromByteArrayBase64(
	byte[] value


Type: System.Byte[]

A base-64 Byte array.

Return Value

Type: System.Byte[]

The same byte array that was passed in as an argument.

The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Rather than return a string as other similar "from" methods, the static FromByteArrayBase64 method returns the original byte[] object to improve performance and conserve memory.

.NET Framework
Available since 1.1
Available since 2.0
Return to top