Interface BinaryPositionReadable
-
- All Known Subinterfaces:
BinaryInputStream,PlatformInputStream
- All Known Implementing Classes:
BinaryAbstractInputStream,BinaryBuilderReader,BinaryByteBufferInputStream,BinaryHeapInputStream,BinaryOffheapInputStream,PlatformBigEndianInputStreamImpl,PlatformInputStreamImpl
public interface BinaryPositionReadableInterface allowing for positioned read.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description bytereadBytePositioned(int pos)Read byte at the given position.intreadIntPositioned(int pos)Read integer at the given position.shortreadShortPositioned(int pos)Read short at the given position.
-
-
-
Method Detail
-
readBytePositioned
byte readBytePositioned(int pos)
Read byte at the given position.- Parameters:
pos- Position.- Returns:
- Value.
-
readShortPositioned
short readShortPositioned(int pos)
Read short at the given position.- Parameters:
pos- Position.- Returns:
- Value.
-
readIntPositioned
int readIntPositioned(int pos)
Read integer at the given position.- Parameters:
pos- Position.- Returns:
- Value.
-
-