public interface DataInputSource extends Closeable
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
DataInputSourceId |
getId() |
long |
getReadTimeNanos() |
long |
getSize() |
void |
readFully(long position,
byte[] buffer) |
void |
readFully(long position,
byte[] buffer,
int bufferOffset,
int bufferLength) |
DataInputSourceId getId()
long getReadTimeNanos()
long getSize()
void readFully(long position,
byte[] buffer)
throws IOException
IOExceptionvoid readFully(long position,
byte[] buffer,
int bufferOffset,
int bufferLength)
throws IOException
IOExceptiondefault void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2012–2021. All rights reserved.