Package net.minecraft.server.rcon
Class NetworkDataOutputStream
java.lang.Object
net.minecraft.server.rcon.NetworkDataOutputStream
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataOutputStream
private final ByteArrayOutputStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reset()
byte[]
void
write
(int p_11473_) void
writeBytes
(byte[] p_11479_) void
writeFloat
(float p_144017_) void
writeInt
(int p_144019_) void
writeShort
(short p_11477_) void
writeString
(String p_11475_)
-
Field Details
-
outputStream
-
dataOutputStream
-
-
Constructor Details
-
NetworkDataOutputStream
public NetworkDataOutputStream(int p_11470_)
-
-
Method Details
-
writeBytes
- Throws:
IOException
-
writeString
- Throws:
IOException
-
write
- Throws:
IOException
-
writeShort
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
writeFloat
- Throws:
IOException
-
toByteArray
public byte[] toByteArray() -
reset
public void reset()
-