Class NativeBuffer
java.lang.Object
org.maplibre.nativeffi.render.NativeBuffer
- All Implemented Interfaces:
AutoCloseable
Explicit off-heap byte buffer for reusable native readback and upload storage.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NativeBufferallocate(long byteLength) longvoidclose()byte[]
-
Method Details
-
allocate
-
byteLength
public long byteLength() -
toByteArray
public byte[] toByteArray() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-