public abstract class FileInStream extends InputStream implements BoundedStream, PositionedReadable, Seekable
read(java.nio.ByteBuffer, int, int)methods to access this stream of bytes. In addition, one can seek into a given offset of the stream to read.
|Constructor and Description|
|Modifier and Type||Method and Description|
Reads up to len bytes of data from the input stream into the byte buffer.
available, close, mark, markSupported, read, read, read, reset, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public int read(ByteBuffer byteBuffer, int off, int len) throws IOException
byteBuffer- the buffer into which the data is read
off- the start offset in the buffer at which the data is written
len- the maximum number of bytes to read
Copyright © 2021. All Rights Reserved.