public Pointer allocateTemporary(int size) {
return new BoundedMemoryIO(TransientNativeMemory.allocate(runtime, size, Math.min(size, 16), true), 0, size);
}
public Pointer allocateTemporary(int size, boolean clear) {
return new BoundedMemoryIO(TransientNativeMemory.allocate(runtime, size, Math.min(size, 16), true), 0, size);
}