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

◆ Decode() [1/3]

override int System.Xml.Base64Decoder.Decode ( char[] chars,
int startPos,
int len )
inlinepackage

Definition at line 23 of file Base64Decoder.cs.

24 {
25 if (chars == null)
26 {
27 throw new ArgumentNullException("chars");
28 }
29 if (len < 0)
30 {
31 throw new ArgumentOutOfRangeException("len");
32 }
33 if (startPos < 0)
34 {
35 throw new ArgumentOutOfRangeException("startPos");
36 }
37 if (chars.Length - startPos < len)
38 {
39 throw new ArgumentOutOfRangeException("len");
40 }
41 if (len == 0)
42 {
43 return 0;
44 }
47 return charsDecoded;
48 }
override int Decode(char[] chars, int startPos, int len)

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

Referenced by System.Xml.Base64Decoder.Decode(), and System.Xml.Base64Decoder.Decode().