Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetDirectBufferCapacity(IntPtr)

Fetches and returns the capacity of the memory region referenced by the given direct java.nio.Buffer.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static long GetDirectBufferCapacity(IntPtr buffer)

Parameters

buffer

Returns

Type

Description

long

Remarks