(long position)
| 64 | } |
| 65 | |
| 66 | public void seek(long position) throws IOException { |
| 67 | if (position < 0 || (!allowWrite && position > length())) throw new IOException(); |
| 68 | |
| 69 | this.position = position; |
| 70 | } |
| 71 | |
| 72 | public int skipBytes(int count) throws IOException { |
| 73 | if (position + count > length()) throw new IOException(); |