| Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > ReadElementContentAsBase64 Method : ReadElementContentAsBase64(Byte[],Int32,Int32) Method |
'Declaration Public Overloads Overrides NotOverridable Function ReadElementContentAsBase64( _ ByVal buffer() As System.Byte, _ ByVal index As System.Integer, _ ByVal count As System.Integer _ ) As System.Integer
'Usage Dim instance As XmlFastInfosetReader Dim buffer() As System.Byte Dim index As System.Integer Dim count As System.Integer Dim value As System.Integer value = instance.ReadElementContentAsBase64(buffer, index, count)
public override System.int ReadElementContentAsBase64( System.byte[] buffer, System.int index, System.int count )
public function ReadElementContentAsBase64( buffer: System.Bytearray of; index: System.Integer; count: System.Integer ): System.Integer; override;
public override function ReadElementContentAsBase64( buffer : System.byte[], index : System.int, count : System.int ) : System.int;
This method reads the start tag, the content 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 the content is binary encoded Base64 bytes, the reader returns the bytes read.
If the content is text, the reader performs Base64 decoding and returns the 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
XmlFastInfosetReader Class
XmlFastInfosetReader Members
Overload List
Base Implementation in ReadElementContentAsBase64