Class NativeBuffer

java.lang.Object
org.maplibre.nativeffi.render.NativeBuffer
All Implemented Interfaces:
AutoCloseable

public final class NativeBuffer extends Object implements AutoCloseable
Explicit off-heap byte buffer for reusable native readback and upload storage.
  • Method Details

    • allocate

      public static NativeBuffer allocate(long byteLength)
    • byteLength

      public long byteLength()
    • toByteArray

      public byte[] toByteArray()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable