Class FriendlyByteBuf

java.lang.Object
io.netty.buffer.ByteBuf
net.minecraft.network.FriendlyByteBuf
All Implemented Interfaces:
io.netty.buffer.ByteBufConvertible, io.netty.util.ReferenceCounted, Comparable<io.netty.buffer.ByteBuf>
Direct Known Subclasses:
RegistryFriendlyByteBuf

public class FriendlyByteBuf extends io.netty.buffer.ByteBuf
  • Field Details

    • DEFAULT_NBT_QUOTA

      public static final int DEFAULT_NBT_QUOTA
      See Also:
    • source

      private final io.netty.buffer.ByteBuf source
    • MAX_STRING_LENGTH

      public static final short MAX_STRING_LENGTH
      See Also:
    • MAX_COMPONENT_STRING_LENGTH

      public static final int MAX_COMPONENT_STRING_LENGTH
      See Also:
    • PUBLIC_KEY_SIZE

      private static final int PUBLIC_KEY_SIZE
      See Also:
    • MAX_PUBLIC_KEY_HEADER_SIZE

      private static final int MAX_PUBLIC_KEY_HEADER_SIZE
      See Also:
    • MAX_PUBLIC_KEY_LENGTH

      private static final int MAX_PUBLIC_KEY_LENGTH
      See Also:
    • GSON

      private static final com.google.gson.Gson GSON
  • Constructor Details

    • FriendlyByteBuf

      public FriendlyByteBuf(io.netty.buffer.ByteBuf p_130051_)
  • Method Details

    • readWithCodecTrusted

      @Deprecated public <T> T readWithCodecTrusted(com.mojang.serialization.DynamicOps<Tag> p_300704_, com.mojang.serialization.Codec<T> p_298353_)
      Deprecated.
    • readWithCodec

      @Deprecated public <T> T readWithCodec(com.mojang.serialization.DynamicOps<Tag> p_266903_, com.mojang.serialization.Codec<T> p_267107_, NbtAccounter p_300072_)
      Deprecated.
    • writeWithCodec

      @Deprecated public <T> FriendlyByteBuf writeWithCodec(com.mojang.serialization.DynamicOps<Tag> p_266702_, com.mojang.serialization.Codec<T> p_267245_, T p_266783_)
      Deprecated.
    • readJsonWithCodec

      public <T> T readJsonWithCodec(com.mojang.serialization.Codec<T> p_273318_)
    • writeJsonWithCodec

      public <T> void writeJsonWithCodec(com.mojang.serialization.Codec<T> p_273285_, T p_272770_)
    • limitValue

      public static <T> IntFunction<T> limitValue(IntFunction<T> p_182696_, int p_182697_)
    • readCollection

      public <T, C extends Collection<T>> C readCollection(IntFunction<C> p_236839_, StreamDecoder<? super FriendlyByteBuf,T> p_332288_)
    • writeCollection

      public <T> void writeCollection(Collection<T> p_236829_, StreamEncoder<? super FriendlyByteBuf,T> p_330754_)
    • readList

      public <T> List<T> readList(StreamDecoder<? super FriendlyByteBuf,T> p_335526_)
    • readIntIdList

      public it.unimi.dsi.fastutil.ints.IntList readIntIdList()
    • writeIntIdList

      public void writeIntIdList(it.unimi.dsi.fastutil.ints.IntList p_178346_)
    • readMap

      public <K, V, M extends Map<K, V>> M readMap(IntFunction<M> p_236842_, StreamDecoder<? super FriendlyByteBuf,K> p_331258_, StreamDecoder<? super FriendlyByteBuf,V> p_332787_)
    • readMap

      public <K, V> Map<K,V> readMap(StreamDecoder<? super FriendlyByteBuf,K> p_331841_, StreamDecoder<? super FriendlyByteBuf,V> p_328220_)
    • writeMap

      public <K, V> void writeMap(Map<K,V> p_236832_, StreamEncoder<? super FriendlyByteBuf,K> p_332360_, StreamEncoder<? super FriendlyByteBuf,V> p_331674_)
    • readWithCount

      public void readWithCount(Consumer<FriendlyByteBuf> p_178365_)
    • writeEnumSet

      public <E extends Enum<E>> void writeEnumSet(EnumSet<E> p_250400_, Class<E> p_250673_)
    • readEnumSet

      public <E extends Enum<E>> EnumSet<E> readEnumSet(Class<E> p_251289_)
    • writeOptional

      public <T> void writeOptional(Optional<T> p_236836_, StreamEncoder<? super FriendlyByteBuf,T> p_327886_)
    • readOptional

      public <T> Optional<T> readOptional(StreamDecoder<? super FriendlyByteBuf,T> p_334254_)
    • readNullable

      @Nullable public <T> T readNullable(StreamDecoder<? super FriendlyByteBuf,T> p_334486_)
    • readNullable

      @Nullable public static <T, B extends io.netty.buffer.ByteBuf> T readNullable(B p_332661_, StreamDecoder<? super B,T> p_332281_)
    • writeNullable

      public <T> void writeNullable(@Nullable T p_329857_, StreamEncoder<? super FriendlyByteBuf,T> p_330309_)
    • writeNullable

      public static <T, B extends io.netty.buffer.ByteBuf> void writeNullable(B p_334011_, @Nullable T p_236822_, StreamEncoder<? super B,T> p_335434_)
    • readByteArray

      public byte[] readByteArray()
    • readByteArray

      public static byte[] readByteArray(io.netty.buffer.ByteBuf p_328205_)
    • writeByteArray

      public FriendlyByteBuf writeByteArray(byte[] p_130088_)
    • writeByteArray

      public static void writeByteArray(io.netty.buffer.ByteBuf p_331989_, byte[] p_332475_)
    • readByteArray

      public byte[] readByteArray(int p_130102_)
    • readByteArray

      public static byte[] readByteArray(io.netty.buffer.ByteBuf p_329949_, int p_330919_)
    • writeVarIntArray

      public FriendlyByteBuf writeVarIntArray(int[] p_130090_)
    • readVarIntArray

      public int[] readVarIntArray()
    • readVarIntArray

      public int[] readVarIntArray(int p_130117_)
    • writeLongArray

      public FriendlyByteBuf writeLongArray(long[] p_130092_)
    • readLongArray

      public long[] readLongArray()
    • readLongArray

      public long[] readLongArray(@Nullable long[] p_130106_)
    • readLongArray

      public long[] readLongArray(@Nullable long[] p_130094_, int p_130095_)
    • readBlockPos

      public BlockPos readBlockPos()
    • readBlockPos

      public static BlockPos readBlockPos(io.netty.buffer.ByteBuf p_329034_)
    • writeBlockPos

      public FriendlyByteBuf writeBlockPos(BlockPos p_130065_)
    • writeBlockPos

      public static void writeBlockPos(io.netty.buffer.ByteBuf p_329209_, BlockPos p_331076_)
    • readChunkPos

      public ChunkPos readChunkPos()
    • writeChunkPos

      public FriendlyByteBuf writeChunkPos(ChunkPos p_178342_)
    • readSectionPos

      public SectionPos readSectionPos()
    • writeSectionPos

      public FriendlyByteBuf writeSectionPos(SectionPos p_178344_)
    • readGlobalPos

      public GlobalPos readGlobalPos()
    • writeGlobalPos

      public void writeGlobalPos(GlobalPos p_236815_)
    • readVector3f

      public org.joml.Vector3f readVector3f()
    • readVector3f

      public static org.joml.Vector3f readVector3f(io.netty.buffer.ByteBuf p_330751_)
    • writeVector3f

      public void writeVector3f(org.joml.Vector3f p_270985_)
    • writeVector3f

      public static void writeVector3f(io.netty.buffer.ByteBuf p_334705_, org.joml.Vector3f p_328655_)
    • readQuaternion

      public org.joml.Quaternionf readQuaternion()
    • readQuaternion

      public static org.joml.Quaternionf readQuaternion(io.netty.buffer.ByteBuf p_328264_)
    • writeQuaternion

      public void writeQuaternion(org.joml.Quaternionf p_270141_)
    • writeQuaternion

      public static void writeQuaternion(io.netty.buffer.ByteBuf p_327848_, org.joml.Quaternionf p_335470_)
    • readVec3

      public Vec3 readVec3()
    • writeVec3

      public void writeVec3(Vec3 p_300768_)
    • readEnum

      public <T extends Enum<T>> T readEnum(Class<T> p_130067_)
    • writeEnum

      public FriendlyByteBuf writeEnum(Enum<?> p_130069_)
    • readById

      public <T> T readById(IntFunction<T> p_300981_)
    • writeById

      public <T> FriendlyByteBuf writeById(ToIntFunction<T> p_297872_, T p_300123_)
    • readVarInt

      public int readVarInt()
    • readVarLong

      public long readVarLong()
    • writeUUID

      public FriendlyByteBuf writeUUID(UUID p_130078_)
    • writeUUID

      public static void writeUUID(io.netty.buffer.ByteBuf p_331039_, UUID p_331372_)
    • readUUID

      public UUID readUUID()
    • readUUID

      public static UUID readUUID(io.netty.buffer.ByteBuf p_330717_)
    • writeVarInt

      public FriendlyByteBuf writeVarInt(int p_130131_)
    • writeVarLong

      public FriendlyByteBuf writeVarLong(long p_130104_)
    • writeNbt

      public FriendlyByteBuf writeNbt(@Nullable Tag p_300580_)
    • writeNbt

      public static void writeNbt(io.netty.buffer.ByteBuf p_335073_, @Nullable Tag p_330157_)
    • readNbt

      @Nullable public CompoundTag readNbt()
    • readNbt

      @Nullable public static CompoundTag readNbt(io.netty.buffer.ByteBuf p_328524_)
    • readNbt

      @Nullable public static Tag readNbt(io.netty.buffer.ByteBuf p_334505_, NbtAccounter p_333893_)
    • readNbt

      @Nullable public Tag readNbt(NbtAccounter p_130082_)
    • readUtf

      public String readUtf()
    • readUtf

      public String readUtf(int p_130137_)
    • writeUtf

      public FriendlyByteBuf writeUtf(String p_130071_)
    • writeUtf

      public FriendlyByteBuf writeUtf(String p_130073_, int p_130074_)
    • readResourceLocation

      public ResourceLocation readResourceLocation()
    • writeResourceLocation

      public FriendlyByteBuf writeResourceLocation(ResourceLocation p_130086_)
    • readResourceKey

      public <T> ResourceKey<T> readResourceKey(ResourceKey<? extends Registry<T>> p_236802_)
    • writeResourceKey

      public void writeResourceKey(ResourceKey<?> p_236859_)
    • readRegistryKey

      public <T> ResourceKey<? extends Registry<T>> readRegistryKey()
    • readDate

      public Date readDate()
    • writeDate

      public FriendlyByteBuf writeDate(Date p_130076_)
    • readInstant

      public Instant readInstant()
    • writeInstant

      public void writeInstant(Instant p_236827_)
    • readPublicKey

      public PublicKey readPublicKey()
    • writePublicKey

      public FriendlyByteBuf writePublicKey(PublicKey p_236825_)
    • readBlockHitResult

      public BlockHitResult readBlockHitResult()
    • writeBlockHitResult

      public void writeBlockHitResult(BlockHitResult p_130063_)
    • readBitSet

      public BitSet readBitSet()
    • writeBitSet

      public void writeBitSet(BitSet p_178351_)
    • readFixedBitSet

      public BitSet readFixedBitSet(int p_249113_)
    • writeFixedBitSet

      public void writeFixedBitSet(BitSet p_248698_, int p_248869_)
    • isContiguous

      public boolean isContiguous()
      Overrides:
      isContiguous in class io.netty.buffer.ByteBuf
    • maxFastWritableBytes

      public int maxFastWritableBytes()
      Overrides:
      maxFastWritableBytes in class io.netty.buffer.ByteBuf
    • capacity

      public int capacity()
      Specified by:
      capacity in class io.netty.buffer.ByteBuf
    • capacity

      public FriendlyByteBuf capacity(int p_300133_)
      Specified by:
      capacity in class io.netty.buffer.ByteBuf
    • maxCapacity

      public int maxCapacity()
      Specified by:
      maxCapacity in class io.netty.buffer.ByteBuf
    • alloc

      public io.netty.buffer.ByteBufAllocator alloc()
      Specified by:
      alloc in class io.netty.buffer.ByteBuf
    • order

      public ByteOrder order()
      Specified by:
      order in class io.netty.buffer.ByteBuf
    • order

      public io.netty.buffer.ByteBuf order(ByteOrder p_130280_)
      Specified by:
      order in class io.netty.buffer.ByteBuf
    • unwrap

      public io.netty.buffer.ByteBuf unwrap()
      Specified by:
      unwrap in class io.netty.buffer.ByteBuf
    • isDirect

      public boolean isDirect()
      Specified by:
      isDirect in class io.netty.buffer.ByteBuf
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in class io.netty.buffer.ByteBuf
    • asReadOnly

      public io.netty.buffer.ByteBuf asReadOnly()
      Specified by:
      asReadOnly in class io.netty.buffer.ByteBuf
    • readerIndex

      public int readerIndex()
      Specified by:
      readerIndex in class io.netty.buffer.ByteBuf
    • readerIndex

      public FriendlyByteBuf readerIndex(int p_300300_)
      Specified by:
      readerIndex in class io.netty.buffer.ByteBuf
    • writerIndex

      public int writerIndex()
      Specified by:
      writerIndex in class io.netty.buffer.ByteBuf
    • writerIndex

      public FriendlyByteBuf writerIndex(int p_298940_)
      Specified by:
      writerIndex in class io.netty.buffer.ByteBuf
    • setIndex

      public FriendlyByteBuf setIndex(int p_298280_, int p_301012_)
      Specified by:
      setIndex in class io.netty.buffer.ByteBuf
    • readableBytes

      public int readableBytes()
      Specified by:
      readableBytes in class io.netty.buffer.ByteBuf
    • writableBytes

      public int writableBytes()
      Specified by:
      writableBytes in class io.netty.buffer.ByteBuf
    • maxWritableBytes

      public int maxWritableBytes()
      Specified by:
      maxWritableBytes in class io.netty.buffer.ByteBuf
    • isReadable

      public boolean isReadable()
      Specified by:
      isReadable in class io.netty.buffer.ByteBuf
    • isReadable

      public boolean isReadable(int p_130254_)
      Specified by:
      isReadable in class io.netty.buffer.ByteBuf
    • isWritable

      public boolean isWritable()
      Specified by:
      isWritable in class io.netty.buffer.ByteBuf
    • isWritable

      public boolean isWritable(int p_130257_)
      Specified by:
      isWritable in class io.netty.buffer.ByteBuf
    • clear

      public FriendlyByteBuf clear()
      Specified by:
      clear in class io.netty.buffer.ByteBuf
    • markReaderIndex

      public FriendlyByteBuf markReaderIndex()
      Specified by:
      markReaderIndex in class io.netty.buffer.ByteBuf
    • resetReaderIndex

      public FriendlyByteBuf resetReaderIndex()
      Specified by:
      resetReaderIndex in class io.netty.buffer.ByteBuf
    • markWriterIndex

      public FriendlyByteBuf markWriterIndex()
      Specified by:
      markWriterIndex in class io.netty.buffer.ByteBuf
    • resetWriterIndex

      public FriendlyByteBuf resetWriterIndex()
      Specified by:
      resetWriterIndex in class io.netty.buffer.ByteBuf
    • discardReadBytes

      public FriendlyByteBuf discardReadBytes()
      Specified by:
      discardReadBytes in class io.netty.buffer.ByteBuf
    • discardSomeReadBytes

      public FriendlyByteBuf discardSomeReadBytes()
      Specified by:
      discardSomeReadBytes in class io.netty.buffer.ByteBuf
    • ensureWritable

      public FriendlyByteBuf ensureWritable(int p_301044_)
      Specified by:
      ensureWritable in class io.netty.buffer.ByteBuf
    • ensureWritable

      public int ensureWritable(int p_130141_, boolean p_130142_)
      Specified by:
      ensureWritable in class io.netty.buffer.ByteBuf
    • getBoolean

      public boolean getBoolean(int p_130159_)
      Specified by:
      getBoolean in class io.netty.buffer.ByteBuf
    • getByte

      public byte getByte(int p_130161_)
      Specified by:
      getByte in class io.netty.buffer.ByteBuf
    • getUnsignedByte

      public short getUnsignedByte(int p_130225_)
      Specified by:
      getUnsignedByte in class io.netty.buffer.ByteBuf
    • getShort

      public short getShort(int p_130221_)
      Specified by:
      getShort in class io.netty.buffer.ByteBuf
    • getShortLE

      public short getShortLE(int p_130223_)
      Specified by:
      getShortLE in class io.netty.buffer.ByteBuf
    • getUnsignedShort

      public int getUnsignedShort(int p_130235_)
      Specified by:
      getUnsignedShort in class io.netty.buffer.ByteBuf
    • getUnsignedShortLE

      public int getUnsignedShortLE(int p_130237_)
      Specified by:
      getUnsignedShortLE in class io.netty.buffer.ByteBuf
    • getMedium

      public int getMedium(int p_130217_)
      Specified by:
      getMedium in class io.netty.buffer.ByteBuf
    • getMediumLE

      public int getMediumLE(int p_130219_)
      Specified by:
      getMediumLE in class io.netty.buffer.ByteBuf
    • getUnsignedMedium

      public int getUnsignedMedium(int p_130231_)
      Specified by:
      getUnsignedMedium in class io.netty.buffer.ByteBuf
    • getUnsignedMediumLE

      public int getUnsignedMediumLE(int p_130233_)
      Specified by:
      getUnsignedMediumLE in class io.netty.buffer.ByteBuf
    • getInt

      public int getInt(int p_130209_)
      Specified by:
      getInt in class io.netty.buffer.ByteBuf
    • getIntLE

      public int getIntLE(int p_130211_)
      Specified by:
      getIntLE in class io.netty.buffer.ByteBuf
    • getUnsignedInt

      public long getUnsignedInt(int p_130227_)
      Specified by:
      getUnsignedInt in class io.netty.buffer.ByteBuf
    • getUnsignedIntLE

      public long getUnsignedIntLE(int p_130229_)
      Specified by:
      getUnsignedIntLE in class io.netty.buffer.ByteBuf
    • getLong

      public long getLong(int p_130213_)
      Specified by:
      getLong in class io.netty.buffer.ByteBuf
    • getLongLE

      public long getLongLE(int p_130215_)
      Specified by:
      getLongLE in class io.netty.buffer.ByteBuf
    • getChar

      public char getChar(int p_130199_)
      Specified by:
      getChar in class io.netty.buffer.ByteBuf
    • getFloat

      public float getFloat(int p_130207_)
      Specified by:
      getFloat in class io.netty.buffer.ByteBuf
    • getDouble

      public double getDouble(int p_130205_)
      Specified by:
      getDouble in class io.netty.buffer.ByteBuf
    • getBytes

      public FriendlyByteBuf getBytes(int p_299985_, io.netty.buffer.ByteBuf p_298214_)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public FriendlyByteBuf getBytes(int p_300246_, io.netty.buffer.ByteBuf p_301111_, int p_300978_)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public FriendlyByteBuf getBytes(int p_300430_, io.netty.buffer.ByteBuf p_297846_, int p_300610_, int p_299363_)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public FriendlyByteBuf getBytes(int p_300928_, byte[] p_297630_)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public FriendlyByteBuf getBytes(int p_299455_, byte[] p_300069_, int p_300847_, int p_299513_)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public FriendlyByteBuf getBytes(int p_299731_, ByteBuffer p_299164_)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public FriendlyByteBuf getBytes(int p_298241_, OutputStream p_301151_, int p_299913_) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getBytes

      public int getBytes(int p_130187_, GatheringByteChannel p_130188_, int p_130189_) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getBytes

      public int getBytes(int p_130182_, FileChannel p_130183_, long p_130184_, int p_130185_) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getCharSequence

      public CharSequence getCharSequence(int p_130201_, int p_130202_, Charset p_130203_)
      Specified by:
      getCharSequence in class io.netty.buffer.ByteBuf
    • setBoolean

      public FriendlyByteBuf setBoolean(int p_299892_, boolean p_297333_)
      Specified by:
      setBoolean in class io.netty.buffer.ByteBuf
    • setByte

      public FriendlyByteBuf setByte(int p_297325_, int p_300406_)
      Specified by:
      setByte in class io.netty.buffer.ByteBuf
    • setShort

      public FriendlyByteBuf setShort(int p_297216_, int p_298749_)
      Specified by:
      setShort in class io.netty.buffer.ByteBuf
    • setShortLE

      public FriendlyByteBuf setShortLE(int p_299646_, int p_298038_)
      Specified by:
      setShortLE in class io.netty.buffer.ByteBuf
    • setMedium

      public FriendlyByteBuf setMedium(int p_300490_, int p_299067_)
      Specified by:
      setMedium in class io.netty.buffer.ByteBuf
    • setMediumLE

      public FriendlyByteBuf setMediumLE(int p_300630_, int p_299351_)
      Specified by:
      setMediumLE in class io.netty.buffer.ByteBuf
    • setInt

      public FriendlyByteBuf setInt(int p_299176_, int p_301413_)
      Specified by:
      setInt in class io.netty.buffer.ByteBuf
    • setIntLE

      public FriendlyByteBuf setIntLE(int p_300111_, int p_297978_)
      Specified by:
      setIntLE in class io.netty.buffer.ByteBuf
    • setLong

      public FriendlyByteBuf setLong(int p_298039_, long p_298360_)
      Specified by:
      setLong in class io.netty.buffer.ByteBuf
    • setLongLE

      public FriendlyByteBuf setLongLE(int p_300929_, long p_299282_)
      Specified by:
      setLongLE in class io.netty.buffer.ByteBuf
    • setChar

      public FriendlyByteBuf setChar(int p_297413_, int p_297953_)
      Specified by:
      setChar in class io.netty.buffer.ByteBuf
    • setFloat

      public FriendlyByteBuf setFloat(int p_297779_, float p_297840_)
      Specified by:
      setFloat in class io.netty.buffer.ByteBuf
    • setDouble

      public FriendlyByteBuf setDouble(int p_301027_, double p_299551_)
      Specified by:
      setDouble in class io.netty.buffer.ByteBuf
    • setBytes

      public FriendlyByteBuf setBytes(int p_300769_, io.netty.buffer.ByteBuf p_301342_)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public FriendlyByteBuf setBytes(int p_300924_, io.netty.buffer.ByteBuf p_301233_, int p_299359_)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public FriendlyByteBuf setBytes(int p_299338_, io.netty.buffer.ByteBuf p_299810_, int p_301059_, int p_297827_)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public FriendlyByteBuf setBytes(int p_297553_, byte[] p_300329_)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public FriendlyByteBuf setBytes(int p_297451_, byte[] p_300466_, int p_297825_, int p_299499_)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public FriendlyByteBuf setBytes(int p_297596_, ByteBuffer p_299096_)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public int setBytes(int p_130380_, InputStream p_130381_, int p_130382_) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setBytes

      public int setBytes(int p_130392_, ScatteringByteChannel p_130393_, int p_130394_) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setBytes

      public int setBytes(int p_130387_, FileChannel p_130388_, long p_130389_, int p_130390_) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setZero

      public FriendlyByteBuf setZero(int p_297586_, int p_299960_)
      Specified by:
      setZero in class io.netty.buffer.ByteBuf
    • setCharSequence

      public int setCharSequence(int p_130407_, CharSequence p_130408_, Charset p_130409_)
      Specified by:
      setCharSequence in class io.netty.buffer.ByteBuf
    • readBoolean

      public boolean readBoolean()
      Specified by:
      readBoolean in class io.netty.buffer.ByteBuf
    • readByte

      public byte readByte()
      Specified by:
      readByte in class io.netty.buffer.ByteBuf
    • readUnsignedByte

      public short readUnsignedByte()
      Specified by:
      readUnsignedByte in class io.netty.buffer.ByteBuf
    • readShort

      public short readShort()
      Specified by:
      readShort in class io.netty.buffer.ByteBuf
    • readShortLE

      public short readShortLE()
      Specified by:
      readShortLE in class io.netty.buffer.ByteBuf
    • readUnsignedShort

      public int readUnsignedShort()
      Specified by:
      readUnsignedShort in class io.netty.buffer.ByteBuf
    • readUnsignedShortLE

      public int readUnsignedShortLE()
      Specified by:
      readUnsignedShortLE in class io.netty.buffer.ByteBuf
    • readMedium

      public int readMedium()
      Specified by:
      readMedium in class io.netty.buffer.ByteBuf
    • readMediumLE

      public int readMediumLE()
      Specified by:
      readMediumLE in class io.netty.buffer.ByteBuf
    • readUnsignedMedium

      public int readUnsignedMedium()
      Specified by:
      readUnsignedMedium in class io.netty.buffer.ByteBuf
    • readUnsignedMediumLE

      public int readUnsignedMediumLE()
      Specified by:
      readUnsignedMediumLE in class io.netty.buffer.ByteBuf
    • readInt

      public int readInt()
      Specified by:
      readInt in class io.netty.buffer.ByteBuf
    • readIntLE

      public int readIntLE()
      Specified by:
      readIntLE in class io.netty.buffer.ByteBuf
    • readUnsignedInt

      public long readUnsignedInt()
      Specified by:
      readUnsignedInt in class io.netty.buffer.ByteBuf
    • readUnsignedIntLE

      public long readUnsignedIntLE()
      Specified by:
      readUnsignedIntLE in class io.netty.buffer.ByteBuf
    • readLong

      public long readLong()
      Specified by:
      readLong in class io.netty.buffer.ByteBuf
    • readLongLE

      public long readLongLE()
      Specified by:
      readLongLE in class io.netty.buffer.ByteBuf
    • readChar

      public char readChar()
      Specified by:
      readChar in class io.netty.buffer.ByteBuf
    • readFloat

      public float readFloat()
      Specified by:
      readFloat in class io.netty.buffer.ByteBuf
    • readDouble

      public double readDouble()
      Specified by:
      readDouble in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(int p_130287_)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readSlice

      public io.netty.buffer.ByteBuf readSlice(int p_130332_)
      Specified by:
      readSlice in class io.netty.buffer.ByteBuf
    • readRetainedSlice

      public io.netty.buffer.ByteBuf readRetainedSlice(int p_130328_)
      Specified by:
      readRetainedSlice in class io.netty.buffer.ByteBuf
    • readBytes

      public FriendlyByteBuf readBytes(io.netty.buffer.ByteBuf p_300560_)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public FriendlyByteBuf readBytes(io.netty.buffer.ByteBuf p_299224_, int p_300166_)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public FriendlyByteBuf readBytes(io.netty.buffer.ByteBuf p_301382_, int p_300030_, int p_300211_)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public FriendlyByteBuf readBytes(byte[] p_299454_)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public FriendlyByteBuf readBytes(byte[] p_299845_, int p_297363_, int p_299384_)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public FriendlyByteBuf readBytes(ByteBuffer p_297688_)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public FriendlyByteBuf readBytes(OutputStream p_300218_, int p_298001_) throws IOException
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • readBytes

      public int readBytes(GatheringByteChannel p_130307_, int p_130308_) throws IOException
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • readCharSequence

      public CharSequence readCharSequence(int p_130317_, Charset p_130318_)
      Specified by:
      readCharSequence in class io.netty.buffer.ByteBuf
    • readBytes

      public int readBytes(FileChannel p_130303_, long p_130304_, int p_130305_) throws IOException
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • skipBytes

      public FriendlyByteBuf skipBytes(int p_300784_)
      Specified by:
      skipBytes in class io.netty.buffer.ByteBuf
    • writeBoolean

      public FriendlyByteBuf writeBoolean(boolean p_300653_)
      Specified by:
      writeBoolean in class io.netty.buffer.ByteBuf
    • writeByte

      public FriendlyByteBuf writeByte(int p_299498_)
      Specified by:
      writeByte in class io.netty.buffer.ByteBuf
    • writeShort

      public FriendlyByteBuf writeShort(int p_299519_)
      Specified by:
      writeShort in class io.netty.buffer.ByteBuf
    • writeShortLE

      public FriendlyByteBuf writeShortLE(int p_297214_)
      Specified by:
      writeShortLE in class io.netty.buffer.ByteBuf
    • writeMedium

      public FriendlyByteBuf writeMedium(int p_299802_)
      Specified by:
      writeMedium in class io.netty.buffer.ByteBuf
    • writeMediumLE

      public FriendlyByteBuf writeMediumLE(int p_301291_)
      Specified by:
      writeMediumLE in class io.netty.buffer.ByteBuf
    • writeInt

      public FriendlyByteBuf writeInt(int p_301066_)
      Specified by:
      writeInt in class io.netty.buffer.ByteBuf
    • writeIntLE

      public FriendlyByteBuf writeIntLE(int p_299068_)
      Specified by:
      writeIntLE in class io.netty.buffer.ByteBuf
    • writeLong

      public FriendlyByteBuf writeLong(long p_300584_)
      Specified by:
      writeLong in class io.netty.buffer.ByteBuf
    • writeLongLE

      public FriendlyByteBuf writeLongLE(long p_298747_)
      Specified by:
      writeLongLE in class io.netty.buffer.ByteBuf
    • writeChar

      public FriendlyByteBuf writeChar(int p_300374_)
      Specified by:
      writeChar in class io.netty.buffer.ByteBuf
    • writeFloat

      public FriendlyByteBuf writeFloat(float p_299476_)
      Specified by:
      writeFloat in class io.netty.buffer.ByteBuf
    • writeDouble

      public FriendlyByteBuf writeDouble(double p_301246_)
      Specified by:
      writeDouble in class io.netty.buffer.ByteBuf
    • writeBytes

      public FriendlyByteBuf writeBytes(io.netty.buffer.ByteBuf p_300943_)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public FriendlyByteBuf writeBytes(io.netty.buffer.ByteBuf p_298105_, int p_299600_)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public FriendlyByteBuf writeBytes(io.netty.buffer.ByteBuf p_299075_, int p_301207_, int p_299710_)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public FriendlyByteBuf writeBytes(byte[] p_299214_)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public FriendlyByteBuf writeBytes(byte[] p_298410_, int p_297608_, int p_300690_)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public FriendlyByteBuf writeBytes(ByteBuffer p_300889_)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public int writeBytes(InputStream p_130481_, int p_130482_) throws IOException
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • writeBytes

      public int writeBytes(ScatteringByteChannel p_130490_, int p_130491_) throws IOException
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • writeBytes

      public int writeBytes(FileChannel p_130486_, long p_130487_, int p_130488_) throws IOException
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • writeZero

      public FriendlyByteBuf writeZero(int p_298160_)
      Specified by:
      writeZero in class io.netty.buffer.ByteBuf
    • writeCharSequence

      public int writeCharSequence(CharSequence p_130501_, Charset p_130502_)
      Specified by:
      writeCharSequence in class io.netty.buffer.ByteBuf
    • indexOf

      public int indexOf(int p_130244_, int p_130245_, byte p_130246_)
      Specified by:
      indexOf in class io.netty.buffer.ByteBuf
    • bytesBefore

      public int bytesBefore(byte p_130108_)
      Specified by:
      bytesBefore in class io.netty.buffer.ByteBuf
    • bytesBefore

      public int bytesBefore(int p_130110_, byte p_130111_)
      Specified by:
      bytesBefore in class io.netty.buffer.ByteBuf
    • bytesBefore

      public int bytesBefore(int p_130113_, int p_130114_, byte p_130115_)
      Specified by:
      bytesBefore in class io.netty.buffer.ByteBuf
    • forEachByte

      public int forEachByte(io.netty.util.ByteProcessor p_130150_)
      Specified by:
      forEachByte in class io.netty.buffer.ByteBuf
    • forEachByte

      public int forEachByte(int p_130146_, int p_130147_, io.netty.util.ByteProcessor p_130148_)
      Specified by:
      forEachByte in class io.netty.buffer.ByteBuf
    • forEachByteDesc

      public int forEachByteDesc(io.netty.util.ByteProcessor p_130156_)
      Specified by:
      forEachByteDesc in class io.netty.buffer.ByteBuf
    • forEachByteDesc

      public int forEachByteDesc(int p_130152_, int p_130153_, io.netty.util.ByteProcessor p_130154_)
      Specified by:
      forEachByteDesc in class io.netty.buffer.ByteBuf
    • copy

      public io.netty.buffer.ByteBuf copy()
      Specified by:
      copy in class io.netty.buffer.ByteBuf
    • copy

      public io.netty.buffer.ByteBuf copy(int p_130128_, int p_130129_)
      Specified by:
      copy in class io.netty.buffer.ByteBuf
    • slice

      public io.netty.buffer.ByteBuf slice()
      Specified by:
      slice in class io.netty.buffer.ByteBuf
    • retainedSlice

      public io.netty.buffer.ByteBuf retainedSlice()
      Specified by:
      retainedSlice in class io.netty.buffer.ByteBuf
    • slice

      public io.netty.buffer.ByteBuf slice(int p_130450_, int p_130451_)
      Specified by:
      slice in class io.netty.buffer.ByteBuf
    • retainedSlice

      public io.netty.buffer.ByteBuf retainedSlice(int p_130359_, int p_130360_)
      Specified by:
      retainedSlice in class io.netty.buffer.ByteBuf
    • duplicate

      public io.netty.buffer.ByteBuf duplicate()
      Specified by:
      duplicate in class io.netty.buffer.ByteBuf
    • retainedDuplicate

      public io.netty.buffer.ByteBuf retainedDuplicate()
      Specified by:
      retainedDuplicate in class io.netty.buffer.ByteBuf
    • nioBufferCount

      public int nioBufferCount()
      Specified by:
      nioBufferCount in class io.netty.buffer.ByteBuf
    • nioBuffer

      public ByteBuffer nioBuffer()
      Specified by:
      nioBuffer in class io.netty.buffer.ByteBuf
    • nioBuffer

      public ByteBuffer nioBuffer(int p_130270_, int p_130271_)
      Specified by:
      nioBuffer in class io.netty.buffer.ByteBuf
    • internalNioBuffer

      public ByteBuffer internalNioBuffer(int p_130248_, int p_130249_)
      Specified by:
      internalNioBuffer in class io.netty.buffer.ByteBuf
    • nioBuffers

      public ByteBuffer[] nioBuffers()
      Specified by:
      nioBuffers in class io.netty.buffer.ByteBuf
    • nioBuffers

      public ByteBuffer[] nioBuffers(int p_130275_, int p_130276_)
      Specified by:
      nioBuffers in class io.netty.buffer.ByteBuf
    • hasArray

      public boolean hasArray()
      Specified by:
      hasArray in class io.netty.buffer.ByteBuf
    • array

      public byte[] array()
      Specified by:
      array in class io.netty.buffer.ByteBuf
    • arrayOffset

      public int arrayOffset()
      Specified by:
      arrayOffset in class io.netty.buffer.ByteBuf
    • hasMemoryAddress

      public boolean hasMemoryAddress()
      Specified by:
      hasMemoryAddress in class io.netty.buffer.ByteBuf
    • memoryAddress

      public long memoryAddress()
      Specified by:
      memoryAddress in class io.netty.buffer.ByteBuf
    • toString

      public String toString(Charset p_130458_)
      Specified by:
      toString in class io.netty.buffer.ByteBuf
    • toString

      public String toString(int p_130454_, int p_130455_, Charset p_130456_)
      Specified by:
      toString in class io.netty.buffer.ByteBuf
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class io.netty.buffer.ByteBuf
    • equals

      public boolean equals(Object p_130144_)
      Specified by:
      equals in class io.netty.buffer.ByteBuf
    • compareTo

      public int compareTo(io.netty.buffer.ByteBuf p_130123_)
      Specified by:
      compareTo in interface Comparable<io.netty.buffer.ByteBuf>
      Specified by:
      compareTo in class io.netty.buffer.ByteBuf
    • toString

      public String toString()
      Specified by:
      toString in class io.netty.buffer.ByteBuf
    • retain

      public FriendlyByteBuf retain(int p_299349_)
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
      Specified by:
      retain in class io.netty.buffer.ByteBuf
    • retain

      public FriendlyByteBuf retain()
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
      Specified by:
      retain in class io.netty.buffer.ByteBuf
    • touch

      public FriendlyByteBuf touch()
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
      Specified by:
      touch in class io.netty.buffer.ByteBuf
    • touch

      public FriendlyByteBuf touch(Object p_299243_)
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
      Specified by:
      touch in class io.netty.buffer.ByteBuf
    • refCnt

      public int refCnt()
    • release

      public boolean release()
    • release

      public boolean release(int p_130347_)
    • wrap

      public FriendlyByteBuf wrap(io.netty.buffer.ByteBuf data)