Class DataStreamHelper

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

public class DataStreamHelper extends Object
Mappings:
Namespace Name
official aor
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 Laor;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 Laor;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> Laor;<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

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

      public void writeInt(int value) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Laor;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

      public void writeFloat(float value) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laor;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 Laor;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 Laor;b()V
      intermediary method_14693 Lnet/minecraft/class_3345;method_14693()V
      named reset Lnet/minecraft/server/rcon/DataStreamHelper;reset()V