-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable
public class HeavyweightRomBuffer extends RomBuffer
-
-
Constructor Summary
Constructors Constructor Description HeavyweightRomBuffer(String path, ByteOrder order, Long position, Long limit, Integer bufferSize, Function3<String, ByteOrder, Integer, EndianSeekableDataInput> inputFactory)
-
Method Summary
Modifier and Type Method Description HeavyweightRomBufferduplicate(Long position, Long limit)Returns a new buffer sharing the data with its parent. Unitclose()IntArrayreadInts(Integer size)FloatArrayreadFloats(Integer size)ByteArrayreadBytes(Integer size)BytereadByte()ShortreadShort()IntegerreadInt()LongreadLong()FloatreadFloat()DoublereadDouble()StringreadCString()LonggetMaxLength()LonggetPosition()final ByteOrdergetOrder()LonggetLimit()UnitsetPosition(Long position)UnitsetLimit(Long limit)-
Methods inherited from class org.jetbrains.bio.HeavyweightRomBuffer
checkHeader, hasRemaining, readUnsignedByte, readUnsignedShort -
Methods inherited from class java.lang.AutoCloseable
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
duplicate
HeavyweightRomBuffer duplicate(Long position, Long limit)
Returns a new buffer sharing the data with its parent.
-
readFloats
FloatArray readFloats(Integer size)
-
readDouble
Double readDouble()
-
readCString
String readCString()
-
getMaxLength
Long getMaxLength()
-
getPosition
Long getPosition()
-
setPosition
Unit setPosition(Long position)
-
-
-
-