Package org.cloudburstmc.nbt.util.stream
Class LittleEndianDataInputStream
java.lang.Object
org.cloudburstmc.nbt.util.stream.LimitedDataInput
org.cloudburstmc.nbt.util.stream.LittleEndianDataInputStream
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable
- Direct Known Subclasses:
NetworkDataInputStream
-
Constructor Summary
ConstructorsConstructorDescriptionLittleEndianDataInputStream(DataInputStream stream, long maxReadSize) LittleEndianDataInputStream(InputStream stream, long maxReadSize) -
Method Summary
Methods inherited from class org.cloudburstmc.nbt.util.stream.LimitedDataInput
close, delegate, readBoolean, readByte, readFully, readFully, readLine, readUnsignedByte, skipBytes, tryRead
-
Constructor Details
-
LittleEndianDataInputStream
-
LittleEndianDataInputStream
-
LittleEndianDataInputStream
-
LittleEndianDataInputStream
-
-
Method Details
-
readShort
- Specified by:
readShortin interfaceDataInput- Overrides:
readShortin classLimitedDataInput- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShortin interfaceDataInput- Overrides:
readUnsignedShortin classLimitedDataInput- Throws:
IOException
-
readChar
- Specified by:
readCharin interfaceDataInput- Overrides:
readCharin classLimitedDataInput- Throws:
IOException
-
readInt
- Specified by:
readIntin interfaceDataInput- Overrides:
readIntin classLimitedDataInput- Throws:
IOException
-
readLong
- Specified by:
readLongin interfaceDataInput- Overrides:
readLongin classLimitedDataInput- Throws:
IOException
-
readFloat
- Specified by:
readFloatin interfaceDataInput- Overrides:
readFloatin classLimitedDataInput- Throws:
IOException
-
readDouble
- Specified by:
readDoublein interfaceDataInput- Overrides:
readDoublein classLimitedDataInput- Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceDataInput- Overrides:
readUTFin classLimitedDataInput- Throws:
IOException
-