Documentation

Unity Engine

Unity Engine

GetDirectByteBuffer(IntPtr)

Returns the NativeArray backed by the same memory region as the given direct java.nio.Buffer.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static NativeArray<byte> GetDirectByteBuffer(IntPtr buffer)

Parameters

buffer

Returns

Type

Description

NativeArray<byte>

Remarks

Additional Resources: AndroidJNI.GetDirectBufferAddress.