public class AndroidBufferAllocator extends java.lang.Object implements BufferAllocator
| Constructor and Description |
|---|
AndroidBufferAllocator() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
allocate(int size) |
void |
destroyDirectBuffer(java.nio.Buffer toBeDestroyed) |
public void destroyDirectBuffer(java.nio.Buffer toBeDestroyed)
destroyDirectBuffer in interface BufferAllocatorpublic java.nio.ByteBuffer allocate(int size)
allocate in interface BufferAllocator