@Override public final OutputStream newOutputStream(long pos, int bufferSize) throws IOException { if (pos < 0) { throw new IllegalArgumentException(); } checkOpen(); return new Out(mIoState, pos, new byte[selectBufferSize(bufferSize)]); }
@Override public final InputStream newInputStream(long pos, int bufferSize) throws IOException { if (pos < 0) { throw new IllegalArgumentException(); } checkOpen(); return new In(mIoState, pos, new byte[selectBufferSize(bufferSize)]); }
@Override public final OutputStream newOutputStream(long pos, int bufferSize) throws IOException { if (pos < 0) { throw new IllegalArgumentException(); } checkOpen(); return new Out(mIoState, pos, new byte[selectBufferSize(bufferSize)]); }
@Override public final InputStream newInputStream(long pos, int bufferSize) throws IOException { if (pos < 0) { throw new IllegalArgumentException(); } checkOpen(); return new In(mIoState, pos, new byte[selectBufferSize(bufferSize)]); }