public void reset(long token) throws IOException {
    if (offset > limit || token < reset) {
      throw new IOException("Cannot reset");
    }
    in.reset();
    skip(reset, token);
    offset = token;
  }
public void reset(long token) throws IOException {
    if (offset > limit || token < reset) {
      throw new IOException("Cannot reset");
    }
    in.reset();
    skip(reset, token);
    offset = token;
  }
public void reset ( long token ) throws IOException { if ( offset > limit || token < reset ) { throw new IOException ( "Cannot reset" ) ; } in . reset ( ) ; skip ( reset , token ) ; offset = token ; }
Resets the stream to the position recorded by {@code token}.
Resets the stream to the position recorded by {