Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetDirectBufferCapacity(nint)

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

Definition

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

GetDirectBufferCapacity(IntPtr)

public static long GetDirectBufferCapacity(nint buffer)

Parameters

buffer

Returns

Type

Description

long

Remarks