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
Buffer.cs
Go to the documentation of this file.
1using System;
5
6namespace System
7{
8 // Token: 0x02000146 RID: 326
9 [ComVisible(true)]
10 public static class Buffer
11 {
12 // Token: 0x06000CED RID: 3309 RVA: 0x0000207A File Offset: 0x0000027A
14 {
15 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
16 }
17
18 // Token: 0x06000CEE RID: 3310 RVA: 0x0001C21C File Offset: 0x0001A41C
19 internal unsafe static int IndexOfByte(byte* src, byte value, int index, int count)
20 {
21 }
22
23 // Token: 0x06000CEF RID: 3311 RVA: 0x0000207A File Offset: 0x0000027A
24 private static int _ByteLength(Array array)
25 {
26 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
27 }
28
29 // Token: 0x06000CF0 RID: 3312 RVA: 0x0001C230 File Offset: 0x0001A430
30 internal unsafe static void ZeroMemory(byte* src, long len)
31 {
32 }
33
34 // Token: 0x06000CF1 RID: 3313 RVA: 0x0001C240 File Offset: 0x0001A440
35 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
36 internal unsafe static void Memcpy(byte* pDest, int destIndex, byte[] src, int srcIndex, int len)
37 {
38 if (len == 0)
39 {
40 return;
41 }
42 if (src != null)
43 {
44 return;
45 }
46 }
47
48 // Token: 0x06000CF2 RID: 3314 RVA: 0x0001C258 File Offset: 0x0001A458
49 internal unsafe static void InternalMemcpy(byte* dest, byte* src, int count)
50 {
51 }
52
53 // Token: 0x06000CF3 RID: 3315 RVA: 0x0000207A File Offset: 0x0000027A
54 public static int ByteLength(Array array)
55 {
56 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
57 }
58
59 // Token: 0x06000CF4 RID: 3316 RVA: 0x0001C268 File Offset: 0x0001A468
60 public static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
61 {
62 if (src == null)
63 {
64 return;
65 }
66 if (dst != null)
67 {
68 int num = Buffer.ByteLength(src);
70 return;
71 }
72 }
73
74 // Token: 0x06000CF5 RID: 3317 RVA: 0x0001C290 File Offset: 0x0001A490
75 [CLSCompliant(false)]
76 public unsafe static void MemoryCopy(void* source, void* destination, long destinationSizeInBytes, long sourceBytesToCopy)
77 {
78 }
79
80 // Token: 0x06000CF6 RID: 3318 RVA: 0x0001C2A4 File Offset: 0x0001A4A4
81 internal unsafe static void memcpy4(byte* dest, byte* src, int size)
82 {
83 }
84
85 // Token: 0x06000CF7 RID: 3319 RVA: 0x0001C2B4 File Offset: 0x0001A4B4
86 internal unsafe static void memcpy2(byte* dest, byte* src, int size)
87 {
88 }
89
90 // Token: 0x06000CF8 RID: 3320 RVA: 0x0001C2C4 File Offset: 0x0001A4C4
91 private unsafe static void memcpy1(byte* dest, byte* src, int size)
92 {
93 }
94
95 // Token: 0x06000CF9 RID: 3321 RVA: 0x0001C2D4 File Offset: 0x0001A4D4
96 internal unsafe static void Memcpy(byte* dest, byte* src, int len, bool useICall = true)
97 {
98 }
99
100 // Token: 0x06000CFA RID: 3322 RVA: 0x0001C2FC File Offset: 0x0001A4FC
101 internal unsafe static void Memmove(byte* dest, byte* src, uint len)
102 {
103 int num = 1;
104 Buffer.Memcpy(dest, src, (int)len, num != 0);
105 }
106
107 // Token: 0x06000CFB RID: 3323 RVA: 0x0001C320 File Offset: 0x0001A520
108 internal static void Memmove<T>(T destination, T source, ulong elementCount)
109 {
110 }
111 }
112}
class f__AnonymousType0<< Count > j__TPar
static unsafe void memcpy4(byte *dest, byte *src, int size)
Definition Buffer.cs:81
static unsafe void Memmove(byte *dest, byte *src, uint len)
Definition Buffer.cs:101
static unsafe void Memcpy(byte *pDest, int destIndex, byte[] src, int srcIndex, int len)
Definition Buffer.cs:36
static unsafe void MemoryCopy(void *source, void *destination, long destinationSizeInBytes, long sourceBytesToCopy)
Definition Buffer.cs:76
static bool InternalBlockCopy(Array src, int srcOffsetBytes, Array dst, int dstOffsetBytes, int byteCount)
Definition Buffer.cs:13
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
Definition Buffer.cs:60
static unsafe void ZeroMemory(byte *src, long len)
Definition Buffer.cs:30
static unsafe void Memcpy(byte *dest, byte *src, int len, bool useICall=true)
Definition Buffer.cs:96
static unsafe void memcpy1(byte *dest, byte *src, int size)
Definition Buffer.cs:91
static unsafe void memcpy2(byte *dest, byte *src, int size)
Definition Buffer.cs:86
static int _ByteLength(Array array)
Definition Buffer.cs:24
static int ByteLength(Array array)
Definition Buffer.cs:54
static unsafe int IndexOfByte(byte *src, byte value, int index, int count)
Definition Buffer.cs:19
static unsafe void InternalMemcpy(byte *dest, byte *src, int count)
Definition Buffer.cs:49
static void Memmove< T >(T destination, T source, ulong elementCount)
Definition Buffer.cs:108