public final class Buffer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static long |
address(java.nio.ByteBuffer buf)
Returns the memory address of the ByteBuffer.
|
static long |
size(java.nio.ByteBuffer buf)
Returns the allocated memory size of the ByteBuffer.
|
public static long address(java.nio.ByteBuffer buf)
buf - Previously allocated ByteBuffer.public static long size(java.nio.ByteBuffer buf)
buf - Previously allocated ByteBuffer.