@FunctionalInterface public interface NativeAllocator
| Modifier and Type | Method and Description |
|---|---|
Object |
allocate(int byteSize)
Allocates a new native buffer of
byteSize bytes. |
Object allocate(int byteSize)
byteSize bytes. The return value must be a Truffle
object as expected by TruffleString.FromNativePointerNode.