Class MemoryBuffer
java.lang.Object
dev.engine_room.flywheel.backend.util.MemoryBuffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbytePosForIndex(int index) voiddelete()longneededCapacityForIndex(int index) longptr()longptrForIndex(int index) booleanreallocIfNeeded(int index)
-
Constructor Details
-
MemoryBuffer
public MemoryBuffer(long stride)
-
-
Method Details
-
reallocIfNeeded
public boolean reallocIfNeeded(int index) -
ptr
public long ptr() -
ptrForIndex
public long ptrForIndex(int index) -
bytePosForIndex
public long bytePosForIndex(int index) -
neededCapacityForIndex
public long neededCapacityForIndex(int index) -
delete
public void delete()
-