ドキュメント

Unity Engine

Download Unity

Unity Engine

GetDirectSByteBuffer(nint)

Returns the NativeArray backed by the same memory region as the given direct java.nio.Buffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

GetDirectSByteBuffer(IntPtr)

public static NativeArray<sbyte> GetDirectSByteBuffer(nint buffer)

Parameters

buffer

The direct java.nio.Buffer.

Returns

Type

Description

NativeArray<sbyte>The NativeArray backed by the same memory region as the given buffer.

Remarks

Additional Resources: AndroidJNI.GetDirectBufferAddress