-
- 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 InputStream
in
-
Constructor Summary
Constructors Constructor Description LittleEndianDataInputStream(InputStream in)
-
Method Summary
Modifier and Type Method Description Unit
readFully(ByteArray b)
Unit
readFully(ByteArray b, Integer off, Integer len)
Integer
skipBytes(Integer n)
Boolean
readBoolean()
Byte
readByte()
Integer
readUnsignedByte()
Short
readShort()
Integer
readUnsignedShort()
Character
readChar()
Integer
readInt()
Long
readLong()
Float
readFloat()
Double
readDouble()
String
readLine()
String
readUTF()
-
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()
-
-
-
-