Version: 2018.1
public static void* GetUnsafeReadOnlyPtr (NativeSlice<T> nativeSlice);

Parameters

nativeSliceNativeSlice.

Returns

void* Memory pointer.

Description

Get NativeSlice memory buffer pointer. Checks whether the native array can be read from.