Noemax FastInfoset.NET
ReadBase64 Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : ReadBase64 Method






Reads a Base64 value from the current position in the element content and decodes it into an array of bytes.

Syntax

Visual Basic (Declaration) 
Public Function ReadBase64() As Byte()
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim value() As Byte
 
value = instance.ReadBase64()
C# 
public byte[] ReadBase64()
Delphi 
public function ReadBase64(): array of Byte; 
JScript 
public function ReadBase64() : byte[];
Managed Extensions for C++ 
public: byte[]* ReadBase64(); 
C++/CLI 
public:
array<byte>^ ReadBase64(); 

Return Value

An array of bytes read.

Remarks

If the node at the current position is Fast Infoset binary encoded Base64 bytes, the reader returns these bytes without transformation.

If the current node is text, the reader performs Base64 decoding and returns the decoded bytes.

See Also