public interface UncheckedRandomDataInput
Modifier and Type | Method and Description |
---|---|
byte |
readByte(long offset)
Read a byte at an offset possibly not checking memory bounds.
|
int |
readInt(long offset)
Read an int at an offset possibly not checking memory bounds.
|
long |
readLong(long offset)
Read a long at an offset possibly not checking memory bounds.
|
short |
readShort(long offset)
Read a short at an offset possibly not checking memory bounds.
|
byte readByte(long offset)
Memory bounds must be checked before invoking this method or else the result is undefined and may lead to JVM crashes.
offset
- to readBufferUnderflowException
- if the offset is outside the limits of the BytesIllegalStateException
- if releasedshort readShort(long offset)
Memory bounds must be checked before invoking this method or else the result is undefined and may lead to JVM crashes.
offset
- to readBufferUnderflowException
- if the offset is outside the limits of the BytesIllegalStateException
- if releasedint readInt(long offset)
Memory bounds must be checked before invoking this method or else the result is undefined and may lead to JVM crashes.
offset
- to readBufferUnderflowException
- if the offset is outside the limits of the BytesIllegalStateException
- if releasedlong readLong(long offset)
Memory bounds must be checked before invoking this method or else the result is undefined and may lead to JVM crashes.
offset
- to readBufferUnderflowException
- if the offset is outside the limits of the BytesIllegalStateException
- if releasedCopyright © 2022. All rights reserved.