35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Unity.Collections.LowLevel.Unsafe
|
|
{
|
|
// Token: 0x02000035 RID: 53
|
|
[Token(Token = "0x2000035")]
|
|
public static class NativeArrayUnsafeUtility
|
|
{
|
|
// Token: 0x06000072 RID: 114 RVA: 0x00002358 File Offset: 0x00000558
|
|
[Token(Token = "0x6000072")]
|
|
[Address(RVA = "0x35BE590", Offset = "0x35BD590", VA = "0x1835BE590")]
|
|
public unsafe static NativeArray<T> ConvertExistingDataToNativeArray<T>(void* dataPointer, int length, Allocator allocator) where T : struct
|
|
{
|
|
return default(NativeArray<T>);
|
|
}
|
|
|
|
// Token: 0x06000073 RID: 115 RVA: 0x00002052 File Offset: 0x00000252
|
|
[Token(Token = "0x6000073")]
|
|
[Address(RVA = "0xE78BF0", Offset = "0xE77BF0", VA = "0x180E78BF0")]
|
|
public unsafe static void* GetUnsafePtr<T>(this NativeArray<T> nativeArray) where T : struct
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000074 RID: 116 RVA: 0x00002052 File Offset: 0x00000252
|
|
[Token(Token = "0x6000074")]
|
|
[Address(RVA = "0xE78BF0", Offset = "0xE77BF0", VA = "0x180E78BF0")]
|
|
public unsafe static void* GetUnsafeReadOnlyPtr<T>(this NativeArray<T> nativeArray) where T : struct
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|