(long amount)
| 624 | } |
| 625 | |
| 626 | public long skip(long amount) throws IOException |
| 627 | { |
| 628 | if (amount < 0) |
| 629 | return 0; |
| 630 | if (amount > end - (bufferOffset + pos)) |
| 631 | amount = end - (bufferOffset + pos); |
| 632 | seek(bufferOffset + pos + amount); |
| 633 | return amount; |
| 634 | } |
| 635 | |
| 636 | void seek(long newpos) throws IOException |
| 637 | { |
no test coverage detected