Class StringEncoding

java.lang.Object
net.minecraft.network.encoding.StringEncoding

public class StringEncoding extends Object
Mappings:
Namespace Name
official uv
intermediary net/minecraft/class_8702
named net/minecraft/network/encoding/StringEncoding
  • Constructor Details

    • StringEncoding

      public StringEncoding()
  • Method Details

    • decode

      public static String decode(ByteBuf buf, int length)
      Mappings:
      Namespace Name Mixin selector
      official a Luv;a(Lio/netty/buffer/ByteBuf;I)Ljava/lang/String;
      intermediary method_53012 Lnet/minecraft/class_8702;method_53012(Lio/netty/buffer/ByteBuf;I)Ljava/lang/String;
      named decode Lnet/minecraft/network/encoding/StringEncoding;decode(Lio/netty/buffer/ByteBuf;I)Ljava/lang/String;
    • encode

      public static void encode(ByteBuf buf, CharSequence string, int length)
      Mappings:
      Namespace Name Mixin selector
      official a Luv;a(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;I)V
      intermediary method_53013 Lnet/minecraft/class_8702;method_53013(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;I)V
      named encode Lnet/minecraft/network/encoding/StringEncoding;encode(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;I)V