文档

Unity Engine

Unity Engine

GetDirectByteBuffer(IntPtr)

Returns the NativeArray backed by the same memory region as the given direct java.nio.Buffer.
阅读时间1 分钟最后更新于 1 天前

Definition

public static NativeArray<byte> GetDirectByteBuffer(IntPtr buffer)

Parameters

buffer

Returns

Type

Description

NativeArray<byte>

Remarks

Additional Resources: AndroidJNI.GetDirectBufferAddress.