@Override
  public void moveTo(long position) {
    if (position < 0 || length() < position) {
      throw new IllegalArgumentException("Position out of the bounds of the file!");
    }

    fp = position;
  }
@Test
  public void reset() throws IOException {
    cs.moveTo(10);
    assertEquals(len - 10, cs.availableExact());
    cs.reset();
    assertEquals(len, cs.availableExact());
  }