Class DataStreamHelper

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

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

    • byteArrayOutputStream

      private final ByteArrayOutputStream byteArrayOutputStream
      Mappings:
      Namespace Name Mixin selector
      named byteArrayOutputStream Lnet/minecraft/server/rcon/DataStreamHelper;byteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
      intermediary field_14395 Lnet/minecraft/class_3345;field_14395:Ljava/io/ByteArrayOutputStream;
      official a Lawt;a:Ljava/io/ByteArrayOutputStream;
    • dataOutputStream

      private final DataOutputStream dataOutputStream
      Mappings:
      Namespace Name Mixin selector
      named dataOutputStream Lnet/minecraft/server/rcon/DataStreamHelper;dataOutputStream:Ljava/io/DataOutputStream;
      intermediary field_14396 Lnet/minecraft/class_3345;field_14396:Ljava/io/DataOutputStream;
      official b Lawt;b:Ljava/io/DataOutputStream;
  • Constructor Details

    • DataStreamHelper

      public DataStreamHelper(int size)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/rcon/DataStreamHelper;<init>(I)V
      intermediary <init> Lnet/minecraft/class_3345;<init>(I)V
      official <init> Lawt;<init>(I)V
  • Method Details

    • write

      public void write(byte[] values) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/server/rcon/DataStreamHelper;write([B)V
      intermediary method_14694 Lnet/minecraft/class_3345;method_14694([B)V
      official a Lawt;a([B)V
    • writeBytes

      public void writeBytes(String value) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named writeBytes Lnet/minecraft/server/rcon/DataStreamHelper;writeBytes(Ljava/lang/String;)V
      intermediary method_14690 Lnet/minecraft/class_3345;method_14690(Ljava/lang/String;)V
      official a Lawt;a(Ljava/lang/String;)V
    • write

      public void write(int value) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/server/rcon/DataStreamHelper;write(I)V
      intermediary method_14692 Lnet/minecraft/class_3345;method_14692(I)V
      official a Lawt;a(I)V
    • writeShort

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

      public void writeInt(int value) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named writeInt Lnet/minecraft/server/rcon/DataStreamHelper;writeInt(I)V
      intermediary method_34887 Lnet/minecraft/class_3345;method_34887(I)V
      official b Lawt;b(I)V
    • writeFloat

      public void writeFloat(float value) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named writeFloat Lnet/minecraft/server/rcon/DataStreamHelper;writeFloat(F)V
      intermediary method_34886 Lnet/minecraft/class_3345;method_34886(F)V
      official a Lawt;a(F)V
    • bytes

      public byte[] bytes()
      Mappings:
      Namespace Name Mixin selector
      named bytes Lnet/minecraft/server/rcon/DataStreamHelper;bytes()[B
      intermediary method_14689 Lnet/minecraft/class_3345;method_14689()[B
      official a Lawt;a()[B
    • reset

      public void reset()
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/server/rcon/DataStreamHelper;reset()V
      intermediary method_14693 Lnet/minecraft/class_3345;method_14693()V
      official b Lawt;b()V