LwHttp: add Buffer.skip()

This commit is contained in:
Hannes Janetzek 2014-01-25 21:33:35 +01:00
parent 3c133af4df
commit 984a17ef35

View File

@ -137,6 +137,12 @@ public class LwHttp {
super.mark(readlimit);
}
@Override
public synchronized long skip(long n) throws IOException {
sumRead += n;
return super.skip(n);
}
@Override
public synchronized void reset() throws IOException {
if (marked >= 0)