ByteSliceReader
IndexInput that knows how to read the byte slices written by Posting and PostingVector. We read the bytes in each slice until we hit the end of that slice at which point we read the forwarding address of the next slice and then jump to it.
Functions
Reads a specified number of bytes into an array at the specified offset.
Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer). Currently only BufferedIndexInput respects this parameter.
Reads a specified number of floats into an array at the specified offset.
Override if you have an efficient implementation. In general this is when the input supports random access.
Reads a Set
Reads a string.