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 = "0x1E68630", Offset = "0x1E67430", VA = "0x181E68630")]
|
|
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 = "0x723160", Offset = "0x721F60", VA = "0x180723160")]
|
|
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 = "0x723160", Offset = "0x721F60", VA = "0x180723160")]
|
|
public unsafe static void* GetUnsafeReadOnlyPtr<T>(this NativeArray<T> nativeArray) where T : struct
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|