Class DataStreamHelper

java.lang.Object
net.minecraft.server.rcon.DataStreamHelper

public class DataStreamHelper
extends Object
Mappings:
Namespace Name
official adu
intermediary net/minecraft/class_3345
named net/minecraft/server/rcon/DataStreamHelper
  • Field Details

    • byteArrayOutputStream

      private final ByteArrayOutputStream byteArrayOutputStream
      Mappings:
      Namespace Name Mixin selector
      official a Ladu;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

      private final DataOutputStream dataOutputStream
      Mappings:
      Namespace Name Mixin selector
      official b Ladu;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 int2)
  • Method Details

    • write

      public void write​(byte[] byte2) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ladu;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

      public void writeBytes​(String string) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ladu;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

      public void write​(int int2) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ladu;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

      public void writeShort​(short short2) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ladu;a(S)V
      intermediary method_14691 Lnet/minecraft/class_3345;method_14691(S)V
      named writeShort Lnet/minecraft/server/rcon/DataStreamHelper;writeShort(S)V
    • bytes

      public byte[] bytes()
      Mappings:
      Namespace Name Mixin selector
      official a Ladu;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 Ladu;b()V
      intermediary method_14693 Lnet/minecraft/class_3345;method_14693()V
      named reset Lnet/minecraft/server/rcon/DataStreamHelper;reset()V