Interface RandomAccessReader

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
SimpleMappedReader

public interface RandomAccessReader extends AutoCloseable
This is a subset of DataInput, plus seek and readFully methods, which allows implementations to use more efficient options like FloatBuffer for bulk reads.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    read(int[] ints, int offset, int count)
     
    void
    readFully(byte[] bytes)
     
    void
    readFully(float[] floats)
     
    void
    readFully(long[] vector)
     
    int
     
    void
    seek(long offset)