public interface SequentialRead extends Closeable
int read() throws IOException
IOException
- If there is an error while reading the data.int read(byte[] b) throws IOException
b
- The buffer to write the data to.IOException
- If there was an error while reading the data.int read(byte[] b, int offset, int length) throws IOException
b
- The buffer to write the data to.offset
- Offset into the buffer to start writing.length
- The amount of data to attempt to read.IOException
- If there was an error while reading the data.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.