Methods Summary |
---|
public long | getPosition()
return( position );
|
public synchronized void | mark(int readlimit)
in.mark(readlimit);
mark = position;
|
public int | read()
int read = in.read();
position += read;
return( read );
|
public int | read(byte[] b)
int read = read(b, 0, b.length);
position += read;
return( read );
|
public int | read(byte[] b, int off, int len)
int read = in.read(b, off, len);
position += read;
return( read );
|
public synchronized void | reset()
in.reset();
position = mark;
|
public long | skip(long n)
long skipped = in.skip(n);
position += skipped;
return( skipped );
|