Package pro.gravit.launcher.serialize
Class HOutput
java.lang.Object
pro.gravit.launcher.serialize.HOutput
- All Implemented Interfaces:
Flushable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()voidwriteASCII(String s, int maxBytes)voidwriteBigInteger(BigInteger bi, int max)voidwriteBoolean(boolean b)voidwriteByteArray(byte[] bytes, int max)voidwriteInt(int i)voidwriteLength(int length, int max)voidwriteLong(long l)voidwriteShort(short s)voidwriteString(String s, int maxBytes)voidwriteUnsignedByte(int b)voidvoidwriteVarInt(int i)voidwriteVarLong(long l)
-
Field Details
-
stream
-
-
Constructor Details
-
HOutput
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Throws:
IOException
-
writeASCII
- Throws:
IOException
-
writeBigInteger
- Throws:
IOException
-
writeBoolean
- Throws:
IOException
-
writeByteArray
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
writeLength
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
writeShort
- Throws:
IOException
-
writeString
- Throws:
IOException
-
writeUnsignedByte
- Throws:
IOException
-
writeUUID
- Throws:
IOException
-
writeVarInt
- Throws:
IOException
-
writeVarLong
- Throws:
IOException
-