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
StringBuffer.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200006B RID: 107
9 internal struct StringBuffer
10 {
11 // Token: 0x170000B6 RID: 182
12 // (get) Token: 0x060003BE RID: 958 RVA: 0x0000A9F4 File Offset: 0x00008BF4
13 // (set) Token: 0x060003BF RID: 959 RVA: 0x0000AA08 File Offset: 0x00008C08
14 public int Position
15 {
16 get
17 {
18 return this._position;
19 }
20 set
21 {
23 }
24 }
25
26 // Token: 0x170000B7 RID: 183
27 // (get) Token: 0x060003C0 RID: 960 RVA: 0x0000212A File Offset: 0x0000032A
28 public bool IsEmpty
29 {
30 get
31 {
32 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
33 }
34 }
35
36 // Token: 0x060003C1 RID: 961 RVA: 0x0000AA1C File Offset: 0x00008C1C
42
43 // Token: 0x060003C2 RID: 962 RVA: 0x0000AA38 File Offset: 0x00008C38
44 private StringBuffer(char[] buffer)
45 {
46 this._buffer = buffer;
47 }
48
49 // Token: 0x060003C3 RID: 963 RVA: 0x0000AA4C File Offset: 0x00008C4C
51 {
52 int position = this._position;
53 int num = 1;
54 this.EnsureSize(bufferPool, num);
55 int position2 = this._position;
56 }
57
58 // Token: 0x060003C4 RID: 964 RVA: 0x0000AA74 File Offset: 0x00008C74
59 public void Append(IArrayPool<char> bufferPool, char[] buffer, int startIndex, int count)
60 {
61 int position = this._position;
62 this.EnsureSize(bufferPool, count);
63 int position2 = this._position;
64 int position3 = this._position;
66 }
67
68 // Token: 0x060003C5 RID: 965 RVA: 0x0000AAA8 File Offset: 0x00008CA8
70 {
71 }
72
73 // Token: 0x060003C6 RID: 966 RVA: 0x0000AAB8 File Offset: 0x00008CB8
75 {
76 int position = this._position;
77 int position2 = this._position;
78 char[] array;
80 }
81
82 // Token: 0x060003C7 RID: 967 RVA: 0x0000AADC File Offset: 0x00008CDC
83 public override string ToString()
84 {
85 int position = this._position;
86 string text;
87 return text;
88 }
89
90 // Token: 0x060003C8 RID: 968 RVA: 0x0000AAF4 File Offset: 0x00008CF4
91 public string ToString(int start, int length)
92 {
93 string text;
94 return text;
95 }
96
97 // Token: 0x170000B8 RID: 184
98 // (get) Token: 0x060003C9 RID: 969 RVA: 0x0000212A File Offset: 0x0000032A
99 public char[] InternalBuffer
100 {
101 get
102 {
103 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
104 }
105 }
106
107 // Token: 0x040001F8 RID: 504
108 private char[] _buffer;
109
110 // Token: 0x040001F9 RID: 505
111 private int _position;
112 }
113}
class f__AnonymousType0<< Count > j__TPar
static char[] RentBuffer(IArrayPool< char > bufferPool, int minSize)
void Append(IArrayPool< char > bufferPool, char value)
string ToString(int start, int length)
void Clear(IArrayPool< char > bufferPool)
void EnsureSize(IArrayPool< char > bufferPool, int appendLength)
void Append(IArrayPool< char > bufferPool, char[] buffer, int startIndex, int count)
StringBuffer(IArrayPool< char > bufferPool, int initalSize)