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
NativeArrayUnsafeUtility.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
Unity.Collections.LowLevel.Unsafe
5
{
6
// Token: 0x02000020 RID: 32
7
public
static
class
NativeArrayUnsafeUtility
8
{
9
// Token: 0x0600002D RID: 45 RVA: 0x000021B3 File Offset: 0x000003B3
10
public
unsafe
static
NativeArray<T>
ConvertExistingDataToNativeArray<T>
(
void
*
dataPointer
,
int
length
,
Allocator
allocator
)
where
T
:
struct
11
{
12
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
13
}
14
15
// Token: 0x0600002E RID: 46 RVA: 0x000021B3 File Offset: 0x000003B3
16
public
unsafe
static
void
*
GetUnsafePtr<T>
(
this
NativeArray<T>
nativeArray
)
where
T
:
struct
17
{
18
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
19
}
20
}
21
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Unity.Collections.LowLevel.Unsafe.NativeArrayUnsafeUtility.GetUnsafePtr< T >
static unsafe void * GetUnsafePtr< T >(this NativeArray< T > nativeArray)
Definition
NativeArrayUnsafeUtility.cs:16
Unity.Collections.LowLevel.Unsafe.NativeArrayUnsafeUtility.ConvertExistingDataToNativeArray< T >
static unsafe NativeArray< T > ConvertExistingDataToNativeArray< T >(void *dataPointer, int length, Allocator allocator)
Definition
NativeArrayUnsafeUtility.cs:10
Unity.Collections.LowLevel.Unsafe.NativeArrayUnsafeUtility
Definition
NativeArrayUnsafeUtility.cs:8
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.ExceptionArgument.length
@ length
System.ConsoleKey.T
@ T
System
Definition
__ComObject.cs:4
Unity.Collections.LowLevel.Unsafe
Definition
NativeArrayUnsafeUtility.cs:5
Unity.Collections.Allocator
Allocator
Definition
Allocator.cs:9
Unity.Collections.NativeArray
Definition
NativeArray.cs:20
source
UnityEngine.CoreModule
Unity
Collections
LowLevel
Unsafe
NativeArrayUnsafeUtility.cs
Generated by
1.10.0