public interface RandomInputFile extends Closeable
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
read(long offset,
int length)
Read
length bytes from source from source starting at offset position. |
long |
size()
Source size
|
long size()
ByteBuffer read(long offset, int length) throws IOException
length bytes from source from source starting at offset position.offset - position for read startlength - length of the bytes to readIOException - on any exception will accessing source mediaCopyright © 2011–2020. All rights reserved.