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;
2using System.IO;
4
6{
7 // Token: 0x02000040 RID: 64
8 [Preserve]
9 internal class Base64Encoder
10 {
11 // Token: 0x060002B8 RID: 696 RVA: 0x000089EC File Offset: 0x00006BEC
13 {
14 ValidationUtils.ArgumentNotNull(writer, "writer");
15 this._writer = writer;
16 }
17
18 // Token: 0x060002B9 RID: 697 RVA: 0x00008A14 File Offset: 0x00006C14
19 public void Encode(byte[] buffer, int index, int count)
20 {
21 if (buffer != null)
22 {
23 int leftOverBytesCount = this._leftOverBytesCount;
24 return;
25 }
26 }
27
28 // Token: 0x060002BA RID: 698 RVA: 0x00008AF0 File Offset: 0x00006CF0
29 public void Flush()
30 {
31 int leftOverBytesCount = this._leftOverBytesCount;
32 byte[] leftOverBytes = this._leftOverBytes;
33 char[] charsLine = this._charsLine;
34 long num = 0L;
35 long num2 = 0L;
36 int num3 = Convert.ToBase64CharArray(leftOverBytes, (int)num, leftOverBytesCount, charsLine, (int)num2);
37 char[] charsLine2 = this._charsLine;
38 TextWriter writer = this._writer;
39 }
40
41 // Token: 0x060002BB RID: 699 RVA: 0x00008B34 File Offset: 0x00006D34
42 private void WriteChars(char[] chars, int index, int count)
43 {
44 TextWriter writer = this._writer;
45 }
46
47 // Token: 0x04000171 RID: 369
48 private const int Base64LineSize = 76;
49
50 // Token: 0x04000172 RID: 370
51 private const int LineSizeInBytes = 57;
52
53 // Token: 0x04000173 RID: 371
54 private readonly char[] _charsLine;
55
56 // Token: 0x04000174 RID: 372
58
59 // Token: 0x04000175 RID: 373
60 private byte[] _leftOverBytes;
61
62 // Token: 0x04000176 RID: 374
64 }
65}
class f__AnonymousType0<< Count > j__TPar
void WriteChars(char[] chars, int index, int count)
void Encode(byte[] buffer, int index, int count)
static void ArgumentNotNull(object value, string parameterName)
static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut)
Definition Convert.cs:2698