Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.ReadBase64 Method |
Reads and decodes the Base64 encoded contents of an element and stores the result in a byte buffer. [Edit]
|
- buffer
- Documentation for this section has not yet been entered. [Edit]
- offset
- A int specifying the zero-based index into array where the method should begin to write. [Edit]
- length
- Documentation for this section has not yet been entered. [Edit]
- offset
- Documentation for this section has not yet been entered. [Edit]
A int containing the number of bytes written to array, or zero if the current instance is not positioned on an element. [Edit]
Type Reason ArgumentNullException array is null. [Edit] ArgumentOutOfRangeException offset < 0, or len < 0.
- or -
len > array.Length - offset.
[Edit]System.Xml.XmlException The Base64 sequence is not valid. [Edit]
Note:[Edit]This method can be called successively to read large streams of embedded text.
Base64 encoding represents byte sequences in a text form comprised of the 65 US-ASCII characters (A-Z, a-z, 0-9, +, /, =) where each character encodes 6 bits of the binary data.
For more information on Base64 encoding, see RFC 2045 (http://www.ietf.org/rfc/2045).
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0