Class MemoryBuffer

java.lang.Object
dev.engine_room.flywheel.backend.util.MemoryBuffer

public class MemoryBuffer extends Object
  • 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()