-
- All Implemented Interfaces:
-
java.io.Closeable,java.io.DataInput,java.lang.AutoCloseable
public interface SeekableDataInput implements DataInput, Closeable
java.io.DataInputinterface extension withseekand additional read methods
-
-
Method Summary
Modifier and Type Method Description abstract Longposition()abstract Longlength()abstract Unitseek(Long position)abstract Integerread(ByteArray buffer, Integer offset, Integer length)UnitreadInt(IntArray pa, Integer start, Integer n)Read an array of ints UnitreadLong(LongArray pa, Integer start, Integer n)Read an array of longs UnitreadFloat(FloatArray pa, Integer start, Integer n)Read an array of floats UnitreadDouble(DoubleArray pa, Integer start, Integer n)Read an array of doubles -
Methods inherited from class org.jetbrains.bio.SeekableDataInput
close, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUTF, readUnsignedByte, readUnsignedShort, skipBytes -
Methods inherited from class java.io.DataInput
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
readInt
Unit readInt(IntArray pa, Integer start, Integer n)
Read an array of ints
- Parameters:
pa- read into this arraystart- starting at pastartn- read this many elements
-
readLong
Unit readLong(LongArray pa, Integer start, Integer n)
Read an array of longs
- Parameters:
pa- read into this arraystart- starting at pastartn- read this many elements
-
readFloat
Unit readFloat(FloatArray pa, Integer start, Integer n)
Read an array of floats
- Parameters:
pa- read into this arraystart- starting at pastartn- read this many elements
-
readDouble
Unit readDouble(DoubleArray pa, Integer start, Integer n)
Read an array of doubles
- Parameters:
pa- read into this arraystart- starting at pastartn- read this many elements
-
-
-
-