Interface Rebufferer

    • Method Detail

      • rebuffer

        Rebufferer.BufferHolder rebuffer​(long position)
        Rebuffer (move on or seek to) a given position, and return a buffer that can be used there. The only guarantee about the size of the returned data is that unless rebuffering at the end of the file, the buffer will not be empty and will contain the requested position, i.e. offset <= position < offset + bh.buffer().limit(), but the buffer will not be positioned there.
      • closeReader

        void closeReader()
        Called when a reader is closed. Should clean up reader-specific data.