LwHttp: add Buffer.skip()
This commit is contained in:
parent
3c133af4df
commit
984a17ef35
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user