Package net.minecraft.server.rcon
Class DataStreamHelper
java.lang.Object
net.minecraft.server.rcon.DataStreamHelper
- Mappings:
Namespace Name official alt
intermediary net/minecraft/class_3345
named net/minecraft/server/rcon/DataStreamHelper
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ByteArrayOutputStream
private final DataOutputStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
bytes()
void
reset()
void
write
(byte[] values) void
write
(int value) void
writeBytes
(String value) void
writeFloat
(float value) void
writeInt
(int value) void
writeShort
(short value)
-
Field Details
-
byteArrayOutputStream
- Mappings:
Namespace Name Mixin selector official a
Lalt;a:Ljava/io/ByteArrayOutputStream;
intermediary field_14395
Lnet/minecraft/class_3345;field_14395:Ljava/io/ByteArrayOutputStream;
named byteArrayOutputStream
Lnet/minecraft/server/rcon/DataStreamHelper;byteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
-
dataOutputStream
- Mappings:
Namespace Name Mixin selector official b
Lalt;b:Ljava/io/DataOutputStream;
intermediary field_14396
Lnet/minecraft/class_3345;field_14396:Ljava/io/DataOutputStream;
named dataOutputStream
Lnet/minecraft/server/rcon/DataStreamHelper;dataOutputStream:Ljava/io/DataOutputStream;
-
-
Constructor Details
-
DataStreamHelper
public DataStreamHelper(int size) - Mappings:
Namespace Name Mixin selector official <init>
Lalt;<init>(I)V
intermediary <init>
Lnet/minecraft/class_3345;<init>(I)V
named <init>
Lnet/minecraft/server/rcon/DataStreamHelper;<init>(I)V
-
-
Method Details
-
write
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lalt;a([B)V
intermediary method_14694
Lnet/minecraft/class_3345;method_14694([B)V
named write
Lnet/minecraft/server/rcon/DataStreamHelper;write([B)V
-
writeBytes
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lalt;a(Ljava/lang/String;)V
intermediary method_14690
Lnet/minecraft/class_3345;method_14690(Ljava/lang/String;)V
named writeBytes
Lnet/minecraft/server/rcon/DataStreamHelper;writeBytes(Ljava/lang/String;)V
-
write
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lalt;a(I)V
intermediary method_14692
Lnet/minecraft/class_3345;method_14692(I)V
named write
Lnet/minecraft/server/rcon/DataStreamHelper;write(I)V
-
writeShort
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lalt;a(S)V
intermediary method_14691
Lnet/minecraft/class_3345;method_14691(S)V
named writeShort
Lnet/minecraft/server/rcon/DataStreamHelper;writeShort(S)V
-
writeInt
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lalt;b(I)V
intermediary method_34887
Lnet/minecraft/class_3345;method_34887(I)V
named writeInt
Lnet/minecraft/server/rcon/DataStreamHelper;writeInt(I)V
-
writeFloat
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lalt;a(F)V
intermediary method_34886
Lnet/minecraft/class_3345;method_34886(F)V
named writeFloat
Lnet/minecraft/server/rcon/DataStreamHelper;writeFloat(F)V
-
bytes
public byte[] bytes()- Mappings:
Namespace Name Mixin selector official a
Lalt;a()[B
intermediary method_14689
Lnet/minecraft/class_3345;method_14689()[B
named bytes
Lnet/minecraft/server/rcon/DataStreamHelper;bytes()[B
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector official b
Lalt;b()V
intermediary method_14693
Lnet/minecraft/class_3345;method_14693()V
named reset
Lnet/minecraft/server/rcon/DataStreamHelper;reset()V
-