-
- All Implemented Interfaces:
-
java.io.Closeable,java.io.DataInput,java.lang.AutoCloseable,org.jetbrains.bio.EndianSeekableDataInput,org.jetbrains.bio.SeekableDataInput
public final class EndianAwareDataSeekableStream implements EndianSeekableDataInput
-
-
Constructor Summary
Constructors Constructor Description EndianAwareDataSeekableStream(SeekableStream stream)
-
Method Summary
Modifier and Type Method Description Longposition()Longlength()Unitseek(Long position)Unitclose()Integerread(ByteArray buffer, Integer offset, Integer length)IntegerreadInt()LongreadLong()FloatreadFloat()DoublereadDouble()UnitreadFully(ByteArray b)UnitreadFully(ByteArray b, Integer off, Integer len)IntegerreadUnsignedShort()IntegerreadUnsignedByte()StringreadUTF()CharacterreadChar()StringreadLine()BytereadByte()IntegerskipBytes(Integer n)BooleanreadBoolean()ShortreadShort()ByteOrdergetOrder()UnitsetOrder(ByteOrder order)-
Methods inherited from class org.jetbrains.bio.EndianSeekableDataInput
readDouble, readFloat, readInt, readLong -
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
-
readDouble
Double readDouble()
-
readUnsignedShort
Integer readUnsignedShort()
-
readUnsignedByte
Integer readUnsignedByte()
-
readLine
@Deprecated(message = "Unsupported for LE and doesn't work properly for BE stream. So let's always throw `UnsupportedOperationException`") String readLine()
-
readBoolean
Boolean readBoolean()
-
-
-
-