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
BufferUtils.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6
8{
10 [global::Cpp2ILInjected.Token(Token = "0x2000069")]
11 internal static class BufferUtils
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60003B6")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1CD8330", Offset = "0x1CD8330", Length = "0xC8")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "ReadData", MemberParameters = new object[]
17 {
18 typeof(bool),
19 typeof(int)
20 }, ReturnType = typeof(int))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "Read", ReturnType = typeof(bool))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "ReadAsBytes", ReturnType = typeof(byte[]))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "ReadStringValue", MemberParameters = new object[] { typeof(ReadType) }, ReturnType = typeof(object))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "ReadAsBoolean", ReturnType = typeof(bool?))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "ReadNumberValue", MemberParameters = new object[] { typeof(ReadType) }, ReturnType = typeof(object))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "EnsureBuffer", ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "WriteEscapedString", MemberParameters = new object[]
28 {
29 typeof(string),
30 typeof(bool)
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "WriteValue", MemberParameters = new object[] { typeof(DateTime) }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "WriteValue", MemberParameters = new object[] { typeof(DateTimeOffset) }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "EnsureWriteBuffer", ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "WriteIntegerValue", MemberParameters = new object[] { typeof(ulong) }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JavaScriptUtils), Member = "WriteEscapedJavaScriptString", MemberParameters = new object[]
37 {
39 typeof(string),
40 typeof(char),
41 typeof(bool),
42 typeof(bool[]),
45 typeof(ref char[])
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringBuffer), Member = ".ctor", MemberParameters = new object[]
48 {
50 typeof(int)
51 }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringBuffer), Member = "EnsureSize", MemberParameters = new object[]
53 {
55 typeof(int)
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
59 public static char[] RentBuffer(IArrayPool<char> bufferPool, int minSize)
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x60003B7")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1CD83F8", Offset = "0x1CD83F8", Length = "0xB0")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "ReadData", MemberParameters = new object[]
68 {
69 typeof(bool),
70 typeof(int)
71 }, ReturnType = typeof(int))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextReader), Member = "Close", ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "Close", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JavaScriptUtils), Member = "WriteEscapedJavaScriptString", MemberParameters = new object[]
75 {
77 typeof(string),
78 typeof(char),
79 typeof(bool),
80 typeof(bool[]),
83 typeof(ref char[])
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringBuffer), Member = "Clear", MemberParameters = new object[] { typeof(IArrayPool<char>) }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringBuffer), Member = "EnsureSize", MemberParameters = new object[]
87 {
89 typeof(int)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
92 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
93 public static void ReturnBuffer(IArrayPool<char> bufferPool, char[] buffer)
94 {
95 throw null;
96 }
97
98 [global::Cpp2ILInjected.Token(Token = "0x60003B8")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1CD84A8", Offset = "0x1CD84A8", Length = "0x13C")]
100 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JavaScriptUtils), Member = "WriteEscapedJavaScriptString", MemberParameters = new object[]
102 {
104 typeof(string),
105 typeof(char),
106 typeof(bool),
107 typeof(bool[]),
110 typeof(ref char[])
111 }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
114 public static char[] EnsureBufferSize(IArrayPool<char> bufferPool, int size, char[] buffer)
115 {
116 throw null;
117 }
118 }
119}
class f__AnonymousType0<< Count > j__TPar
static char[] EnsureBufferSize(IArrayPool< char > bufferPool, int size, char[] buffer)
static char[] RentBuffer(IArrayPool< char > bufferPool, int minSize)
static void ReturnBuffer(IArrayPool< char > bufferPool, char[] buffer)