Interface Rebufferer.BufferHolder

    • Method Detail

      • buffer

        java.nio.ByteBuffer buffer()
        Returns a useable buffer (i.e. one whose position and limit can be freely modified). Its limit will be set to the size of the available data in the buffer. The buffer must be treated as read-only.
      • floatBuffer

        default java.nio.FloatBuffer floatBuffer()
      • intBuffer

        default java.nio.IntBuffer intBuffer()
      • offset

        long offset()
        Position in the file of the start of the buffer.
      • release

        void release()
        To be called when this buffer is no longer in use. Must be called for all BufferHolders, or ChunkCache will not be able to free blocks.