Package org.cloudburstmc.nbt.util.stream
Class LittleEndianDataOutputStream
java.lang.Object
org.cloudburstmc.nbt.util.stream.LittleEndianDataOutputStream
- All Implemented Interfaces:
Closeable,DataOutput,AutoCloseable
- Direct Known Subclasses:
NetworkDataOutputStream
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidwrite(byte @NonNull [] bytes) voidwrite(byte @NonNull [] bytes, int offset, int length) voidwrite(int bytes) voidwriteBoolean(boolean value) voidwriteByte(int value) voidwriteBytes(@NonNull String string) voidwriteChar(int value) voidwriteChars(@NonNull String string) voidwriteDouble(double value) voidwriteFloat(float value) voidwriteInt(int value) voidwriteLong(long value) voidwriteShort(int value) void
-
Field Details
-
stream
-
-
Constructor Details
-
LittleEndianDataOutputStream
-
LittleEndianDataOutputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
write
- Specified by:
writein interfaceDataOutput- Throws:
IOException
-
write
- Specified by:
writein interfaceDataOutput- Throws:
IOException
-
write
- Specified by:
writein interfaceDataOutput- Throws:
IOException
-
writeBoolean
- Specified by:
writeBooleanin interfaceDataOutput- Throws:
IOException
-
writeByte
- Specified by:
writeBytein interfaceDataOutput- Throws:
IOException
-
writeShort
- Specified by:
writeShortin interfaceDataOutput- Throws:
IOException
-
writeChar
- Specified by:
writeCharin interfaceDataOutput- Throws:
IOException
-
writeInt
- Specified by:
writeIntin interfaceDataOutput- Throws:
IOException
-
writeLong
- Specified by:
writeLongin interfaceDataOutput- Throws:
IOException
-
writeFloat
- Specified by:
writeFloatin interfaceDataOutput- Throws:
IOException
-
writeDouble
- Specified by:
writeDoublein interfaceDataOutput- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin interfaceDataOutput- Throws:
IOException
-
writeChars
- Specified by:
writeCharsin interfaceDataOutput- Throws:
IOException
-
writeUTF
- Specified by:
writeUTFin interfaceDataOutput- Throws:
IOException
-