| Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > ReadElementContentAsBase64 Method : ReadElementContentAsBase64(Int32) Method |
'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 )
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.
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