FastInfoset.NET Class Reference for .NET
ReadElementContentAsBase64(Int32) Method






The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method.
Reads binary or Base64 encoded element content and returns decoded bytes.
Syntax
'Declaration
 
Public Overloads Function ReadElementContentAsBase64( _
   ByVal maxArrayLength As System.Integer _
) As System.Byte()
'Usage
 
Dim instance As XmlFastInfosetReader
Dim maxArrayLength As System.Integer
Dim value() As System.Byte
 
value = instance.ReadElementContentAsBase64(maxArrayLength)
public System.byte[] ReadElementContentAsBase64( 
   System.int maxArrayLength
)
public function ReadElementContentAsBase64( 
    maxArrayLength: System.Integer
): System.array of Byte; 
public function ReadElementContentAsBase64( 
   maxArrayLength : System.int
) : System.byte[];
public: System.byte[]* ReadElementContentAsBase64( 
   System.int maxArrayLength
) 
public:
System.array<byte>^ ReadElementContentAsBase64( 
   System.int maxArrayLength
) 

Parameters

maxArrayLength
The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method.

Return Value

An array with bytes.
Remarks

This method reads the start tag, the contents of the element, and moves the reader past the end element tag. It expands entities and ignores processing instructions and comments. The element can only contain simple content. That is, it cannot have child elements.

If content is binary encoded Base64 bytes block, reader returns the bytes read.

If content is text, reader performs Base64 decoding and returns decoded bytes.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Overload List

Send Feedback