terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Base64Encoder.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6
8{
9 [Preserve]
10 [global::Cpp2ILInjected.Token(Token = "0x2000040")]
11 internal class Base64Encoder
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60002B8")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1CCF988", Offset = "0x1CCF988", Length = "0x8C")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "get_Base64Encoder", ReturnType = typeof(Base64Encoder))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValidationUtils), Member = "ArgumentNotNull", MemberParameters = new object[]
19 {
20 typeof(object),
21 typeof(string)
22 }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x60002B9")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1CCFA14", Offset = "0x1CCFA14", Length = "0x314")]
31 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "WriteValue", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToBase64CharArray", MemberParameters = new object[]
35 {
36 typeof(byte[]),
37 typeof(int),
38 typeof(int),
39 typeof(char[]),
40 typeof(int)
41 }, ReturnType = typeof(int))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
45 public void Encode(byte[] buffer, int index, int count)
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x60002BA")]
51 [global::Cpp2ILInjected.Address(RVA = "0x1CCFD3C", Offset = "0x1CCFD3C", Length = "0xAC")]
52 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "WriteValue", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToBase64CharArray", MemberParameters = new object[]
56 {
57 typeof(byte[]),
58 typeof(int),
59 typeof(int),
60 typeof(char[]),
61 typeof(int)
62 }, ReturnType = typeof(int))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
64 public void Flush()
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x60002BB")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1CCFD28", Offset = "0x1CCFD28", Length = "0x14")]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
73 private void WriteChars(char[] chars, int index, int count)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x4000171")]
79 private const int Base64LineSize = 76;
80
81 [global::Cpp2ILInjected.Token(Token = "0x4000172")]
82 private const int LineSizeInBytes = 57;
83
84 [global::Cpp2ILInjected.Token(Token = "0x4000173")]
85 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
86 private readonly char[] _charsLine;
87
88 [global::Cpp2ILInjected.Token(Token = "0x4000174")]
89 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
91
92 [global::Cpp2ILInjected.Token(Token = "0x4000175")]
93 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
94 private byte[] _leftOverBytes;
95
96 [global::Cpp2ILInjected.Token(Token = "0x4000176")]
97 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
99 }
100}
class f__AnonymousType0<< Count > j__TPar
void WriteChars(char[] chars, int index, int count)
void Encode(byte[] buffer, int index, int count)