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