class RandomAccessFileInputStream extends InputStream {

  @Override
  public int read() throws IOException {
    if (available() <= 0) {
      return -1;
    }
    return raf.read();
  }

  public  RandomAccessFileInputStream(File file);
  public  RandomAccessFileInputStream(File file, long rangeOffset, long rangeLength);

}