Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Decode() [3/3]

override int System.Xml.Base64Decoder.Decode ( string str,
int startPos,
int len )
inlinepackage

Definition at line 50 of file Base64Decoder.cs.

51 {
52 if (str == null)
53 {
54 throw new ArgumentNullException("str");
55 }
56 if (len < 0)
57 {
58 throw new ArgumentOutOfRangeException("len");
59 }
60 if (startPos < 0)
61 {
62 throw new ArgumentOutOfRangeException("startPos");
63 }
64 if (str.Length - startPos < len)
65 {
66 throw new ArgumentOutOfRangeException("len");
67 }
68 if (len == 0)
69 {
70 return 0;
71 }
74 return charsDecoded;
75 }
override int Decode(char[] chars, int startPos, int len)

References System.Xml.Base64Decoder._buffer, System.Xml.Base64Decoder._curIndex, System.Xml.Base64Decoder._endIndex, System.Xml.Base64Decoder.Decode(), System.Xml.Dictionary, System.len, and System.str.