-
- All Implemented Interfaces:
-
java.io.Closeable,java.io.DataInput,java.lang.AutoCloseable
public final class LittleEndianDataInputStream extends FilterInputStream implements DataInput
Implementation of DataInput that reads data from an InputStream using little endian byte order.
-
-
Field Summary
Fields Modifier and Type Field Description private final InputStreamin
-
Constructor Summary
Constructors Constructor Description LittleEndianDataInputStream(InputStream in)
-
Method Summary
Modifier and Type Method Description UnitreadFully(ByteArray b)UnitreadFully(ByteArray b, Integer off, Integer len)IntegerskipBytes(Integer n)BooleanreadBoolean()BytereadByte()IntegerreadUnsignedByte()ShortreadShort()IntegerreadUnsignedShort()CharacterreadChar()IntegerreadInt()LongreadLong()FloatreadFloat()DoublereadDouble()StringreadLine()StringreadUTF()-
Methods inherited from class br.com.gamemods.nbtmanipulator.LittleEndianDataInputStream
available, close, mark, markSupported, read, read, read, reset, skip -
Methods inherited from class java.io.FilterInputStream
readAllBytes, readNBytes, readNBytes, transferTo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LittleEndianDataInputStream
LittleEndianDataInputStream(InputStream in)
- Parameters:
in- the underlying input stream.
-
-
Method Detail
-
readBoolean
Boolean readBoolean()
-
readUnsignedByte
Integer readUnsignedByte()
-
readUnsignedShort
Integer readUnsignedShort()
-
readDouble
Double readDouble()
-
-
-
-