terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Base64Encoder.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Xml
4{
5 // Token: 0x02000005 RID: 5
6 internal abstract class Base64Encoder
7 {
8 // Token: 0x06000004 RID: 4 RVA: 0x00002090 File Offset: 0x00000290
9 internal Base64Encoder()
10 {
11 }
12
13 // Token: 0x06000005 RID: 5
14 internal abstract void WriteChars(char[] chars, int index, int count);
15
16 // Token: 0x06000006 RID: 6 RVA: 0x000020A4 File Offset: 0x000002A4
17 internal void Encode(byte[] buffer, int index, int count)
18 {
19 if (buffer != null)
20 {
21 int num = this.leftOverBytesCount;
22 return;
23 }
24 }
25
26 // Token: 0x06000007 RID: 7 RVA: 0x00002170 File Offset: 0x00000370
27 internal void Flush()
28 {
29 int num = this.leftOverBytesCount;
30 byte[] array = this.leftOverBytes;
31 char[] array2 = this.charsLine;
32 long num2 = 0L;
33 long num3 = 0L;
34 int num4 = Convert.ToBase64CharArray(array, (int)num2, num, array2, (int)num3);
35 char[] array3 = this.charsLine;
36 }
37
38 // Token: 0x04000006 RID: 6
39 private byte[] leftOverBytes;
40
41 // Token: 0x04000007 RID: 7
42 private int leftOverBytesCount;
43
44 // Token: 0x04000008 RID: 8
45 private char[] charsLine;
46 }
47}
class f__AnonymousType0<< Count > j__TPar
static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut)
Definition Convert.cs:2698
void Encode(byte[] buffer, int index, int count)
void WriteChars(char[] chars, int index, int count)