CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf COMMENT A packet byte buf is a specialized byte buf with utility methods adapted COMMENT to Minecraft's protocol. It has serialization and deserialization of COMMENT custom objects. COMMENT COMMENT
Object Type | read method | write method | COMMENT
---|---|---|
Codec-based (NBT) | {@link #decode(DynamicOps, Codec, NbtSizeTracker)} | {@link #encode(DynamicOps, Codec, Object)} | COMMENT
Codec-based (JSON) | {@link #decodeAsJson(Codec)} | {@link #encodeAsJson(Codec, Object)} | COMMENT
Integer-identified value | {@link #decode(IntFunction)} | {@link #encode(ToIntFunction, Object)} | COMMENT
{@link Collection} | {@link #readCollection(IntFunction, PacketByteBuf.PacketReader)} | {@link #writeCollection(Collection, PacketByteBuf.PacketWriter)} | COMMENT
{@link IntList} | {@link #readIntList()} | {@link #writeIntList(IntList)} | COMMENT
{@link Map} | {@link #readMap(IntFunction, PacketByteBuf.PacketReader, PacketByteBuf.PacketReader)} | {@link #writeMap(Map, PacketByteBuf.PacketWriter, PacketByteBuf.PacketWriter)} | COMMENT
{@link EnumSet} | {@link #readEnumSet(Class)} | {@link #writeEnumSet(EnumSet, Class)} | COMMENT
{@code byte[]} | {@link #readByteArray()} | {@link #writeByteArray(byte[])} | COMMENT
{@code int[]} | {@link #readIntArray()} | {@link #writeIntArray(int[])} | COMMENT
{@code long[]} | {@link #readLongArray()} | {@link #writeLongArray(long[])} | COMMENT
{@link BlockPos} | {@link #readBlockPos()} | {@link #writeBlockPos(BlockPos)} | COMMENT
{@link ChunkPos} | {@link #readChunkPos()} | {@link #writeChunkPos(ChunkPos)} | COMMENT
{@link ChunkSectionPos} | {@link #readChunkSectionPos()} | {@link #writeChunkSectionPos(ChunkSectionPos)} | COMMENT
{@link GlobalPos} | {@link #readGlobalPos()} | {@link #writeGlobalPos(GlobalPos)} | COMMENT
{@link Vector3f} | {@link #readVector3f()} | {@link #writeVector3f(Vector3f)} | COMMENT
{@link Vec3d} | {@link #readVec3d()} | {@link #writeVec3d(Vec3d)} | COMMENT
{@link Quaternionf} | {@link #readQuaternionf()} | {@link #writeQuaternionf(Quaternionf)} | COMMENT
{@link Enum} | {@link #readEnumConstant(Class)} | {@link #writeEnumConstant(Enum)} | COMMENT
{@index VarInt} | {@link #readVarInt()} | {@link #writeVarInt(int)} | COMMENT
{@index VarLong} | {@link #readVarLong()} | {@link #writeVarLong(long)} | COMMENT
{@link UUID} | {@link #readUuid()} | {@link #writeUuid(UUID)} | COMMENT
{@index GameProfile} | {@link #readGameProfile()} | {@link #writeGameProfile(GameProfile)} | COMMENT
{@index Property} | {@link #readProperty()} | {@link #writeProperty(Property)} | COMMENT
{@index PropertyMap} | {@link #readPropertyMap()} | {@link #writePropertyMap(PropertyMap)} | COMMENT
{@link NbtCompound} | {@link #readNbt()} | {@link #writeNbt(NbtCompound)} | COMMENT
{@link String} | {@link #readString()} | {@link #writeString(String)} | COMMENT
{@link Identifier} | {@link #readIdentifier()} | {@link #writeIdentifier(Identifier)} | COMMENT
{@link RegistryKey} | {@link #readRegistryKey(RegistryKey)} | {@link #writeRegistryKey(RegistryKey)} | COMMENT
{@link RegistryKey} of a registry | {@link #readRegistryRefKey()} | {@link #writeRegistryKey(RegistryKey)} | COMMENT
{@link Date} | {@link #readDate()} | {@link #writeDate(Date)} | COMMENT
{@link Instant} | {@link #readInstant()} | {@link #writeInstant(Instant)} | COMMENT
{@link PublicKey} | {@link #readPublicKey()} | {@link #writePublicKey(PublicKey)} | COMMENT
{@link BlockHitResult} | {@link #readBlockHitResult()} | {@link #writeBlockHitResult(BlockHitResult)} | COMMENT
{@link BitSet} | {@link #readBitSet()} | {@link #writeBitSet(BitSet)} | COMMENT
{@link Optional} | {@link #readOptional(PacketByteBuf.PacketReader)} | {@link #writeOptional(Optional, PacketByteBuf.PacketWriter)} | COMMENT
Nullable value | {@link #readNullable(PacketByteBuf.PacketReader)} | {@link #writeNullable(Object, PacketByteBuf.PacketWriter)} | COMMENT
{@index Either} | {@link #readEither(PacketByteBuf.PacketReader, PacketByteBuf.PacketReader)} | {@link #writeEither(Either, PacketByteBuf.PacketWriter, PacketByteBuf.PacketWriter)} | COMMENT
All {@code read} and {@code write} methods throw {@link
COMMENT IndexOutOfBoundsException} if there is not enough bytes to be read or
COMMENT not enough space to write.
FIELD field_11695 parent Lio/netty/buffer/ByteBuf;
FIELD field_33283 DEFAULT_MAX_STRING_LENGTH S
COMMENT The default max length of strings {@linkplain #readString() read} or {@linkplain
COMMENT #writeString(String) written}. This is also the max length of identifiers
COMMENT {@linkplain #readIdentifier() read} or {@linkplain #writeIdentifier(Identifier)
COMMENT written} in their string form.
FIELD field_33284 MAX_TEXT_LENGTH I
COMMENT The maximum size, in terms of JSON string length, allowed for serialized texts.
FIELD field_33287 MAX_READ_NBT_SIZE I
COMMENT The maximum size, in number of bytes, allowed of the NBT compound read by
COMMENT {@link #readNbt()}.
FIELD field_42966 GSON Lcom/google/gson/Gson;
METHOD Compared to regular longs, var longs may use less bytes when
COMMENT representing smaller positive numbers.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @see #readVarLong()
COMMENT @see net.minecraft.network.encoding.VarLongs
ARG 1 value
COMMENT the value to write
METHOD method_10792 readVarLong ()J
COMMENT Reads a single var long from this buf.
COMMENT
COMMENT @return the value read
COMMENT @see #writeVarLong(long)
METHOD method_10794 writeNbt (Lnet/minecraft/class_2520;)Lnet/minecraft/class_2540;
COMMENT Writes an NBT element to this buf. The binary representation of NBT is
COMMENT handled by {@link net.minecraft.nbt.NbtIo}. If {@code nbt} is {@code
COMMENT null}, it is treated as an NBT null.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @throws io.netty.handler.codec.EncoderException if the NBT cannot be
COMMENT written
COMMENT @see #readNbt()
COMMENT @see #readNbt(NbtSizeTracker)
ARG 1 nbt
METHOD method_10795 readByteArray ()[B
COMMENT Reads an array of primitive bytes from this buf. The array first has a
COMMENT var int indicating its length, followed by the actual bytes. The array
COMMENT does not have a length limit.
COMMENT
COMMENT @see #readByteArray(int)
COMMENT @see #writeByteArray(byte[])
COMMENT @return the read byte array
METHOD method_10796 writeDate (Ljava/util/Date;)Lnet/minecraft/class_2540;
COMMENT Writes a date to this buf. A date is represented by its time, a regular
COMMENT long.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @see #readDate()
ARG 1 date
COMMENT the date to write
METHOD method_10797 writeUuid (Ljava/util/UUID;)Lnet/minecraft/class_2540;
COMMENT Writes a UUID (universally unique identifier) to this buf. A UUID is
COMMENT represented by two regular longs.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @see #readUuid()
ARG 1 uuid
COMMENT the UUID to write
METHOD method_10798 readNbt ()Lnet/minecraft/class_2487;
COMMENT Reads an NBT compound from this buf. The binary representation of NBT is
COMMENT handled by {@link net.minecraft.nbt.NbtIo}. If an NBT null is encountered,
COMMENT this method returns {@code null}. The compound can have a maximum size of
COMMENT {@value #MAX_READ_NBT_SIZE} bytes.
COMMENT
COMMENT Note that unlike {@link #readNbt(NbtSizeTracker)}, this can only
COMMENT read compounds.
COMMENT
COMMENT @return the read compound, may be {@code null}
COMMENT @throws io.netty.handler.codec.EncoderException if the NBT cannot be read
COMMENT @throws net.minecraft.nbt.NbtSizeValidationException if the compound exceeds the allowed maximum size
COMMENT @see #writeNbt(NbtCompound)
COMMENT @see #readNbt(NbtSizeTracker)
COMMENT @see #MAX_READ_NBT_SIZE
METHOD method_10799 readIntArray (I)[I
COMMENT Reads an array of primitive ints from this buf. The array first has a
COMMENT var int indicating its length, followed by the var int entries. The array
COMMENT has a length limit given by {@code maxSize}.
COMMENT
COMMENT @implNote An int array has the same format as a list of ints.
COMMENT
COMMENT @see #readIntArray()
COMMENT @see #writeIntArray(int[])
COMMENT @return the read byte array
COMMENT @throws io.netty.handler.codec.DecoderException if the read array has a
COMMENT length over {@code maxSize}
ARG 1 maxSize
COMMENT the max length of the read array
METHOD method_10800 readString (I)Ljava/lang/String;
COMMENT Reads a string from this buf. A string is represented by a byte array of
COMMENT its UTF-8 data. The string can have a maximum length of {@code maxLength}.
COMMENT
COMMENT @return the string read
COMMENT @throws io.netty.handler.codec.DecoderException if the string read
COMMENT is longer than {@code maxLength}
COMMENT @see #readString()
COMMENT @see #writeString(String)
COMMENT @see #writeString(String, int)
ARG 1 maxLength
COMMENT the maximum length of the string read
METHOD method_10801 readLongArray ([J)[J
COMMENT Reads an array of primitive longs from this buf. The array first has a
COMMENT var int indicating its length, followed by the regular long (not var
COMMENT long) values. The array does not have a length limit.
COMMENT
COMMENT Only when {@code toArray} is not {@code null} and {@code
COMMENT toArray.length} equals to the length var int read will the {@code
COMMENT toArray} be reused and returned; otherwise, a new array
COMMENT of proper size is created.
COMMENT
COMMENT @see #writeLongArray(long[])
COMMENT @see #readLongArray()
COMMENT @see #readLongArray(long[], int)
COMMENT @return the read long array
ARG 1 toArray
COMMENT the array to reuse
METHOD method_10802 readDate ()Ljava/util/Date;
COMMENT Reads a date from this buf. A date is represented by its time, a regular
COMMENT long.
COMMENT
COMMENT @return the read date
COMMENT @see #writeDate(Date)
METHOD method_10803 readByteArray (I)[B
COMMENT Reads an array of primitive bytes from this buf. The array first has a
COMMENT var int indicating its length, followed by the actual bytes. The array
COMMENT has a length limit given by {@code maxSize}.
COMMENT
COMMENT @see #readByteArray()
COMMENT @see #writeByteArray(byte[])
COMMENT @return the read byte array
COMMENT @throws io.netty.handler.codec.DecoderException if the read array has a
COMMENT length over {@code maxSize}
ARG 1 maxSize
COMMENT the max length of the read array
METHOD method_10804 writeVarInt (I)Lnet/minecraft/class_2540;
COMMENT Writes a single var int to this buf.
COMMENT
COMMENT Compared to regular ints, var ints may use less bytes (ranging from 1
COMMENT to 5, where regular ints use 4) when representing smaller positive
COMMENT numbers.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @see #readVarInt()
COMMENT @see net.minecraft.network.encoding.VarInts
ARG 1 value
COMMENT the value to write
METHOD method_10806 writeIntArray ([I)Lnet/minecraft/class_2540;
COMMENT Writes an array of primitive ints to this buf. The array first has a
COMMENT var int indicating its length, followed by the var int entries.
COMMENT
COMMENT @implNote An int array has the same format as a list of ints.
COMMENT
COMMENT @see #readIntArray(int)
COMMENT @see #writeIntArray(int[])
COMMENT @see #writeIntList(IntList)
COMMENT @return this buf, for chaining
ARG 1 array
COMMENT the array to write
METHOD method_10807 writeBlockPos (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2540;
COMMENT Writes a block position to this buf. A block position is represented by
COMMENT a regular long.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @see #readBlockPos()
ARG 1 pos
COMMENT the pos to write
METHOD method_10809 readLongArray ([JI)[J
COMMENT Reads an array of primitive longs from this buf. The array first has a
COMMENT var int indicating its length, followed by the regular long (not var
COMMENT long) values. The array has a length limit of {@code maxSize}.
COMMENT
COMMENT Only when {@code toArray} is not {@code null} and {@code
COMMENT toArray.length} equals to the length var int read will the {@code
COMMENT toArray} be reused and returned; otherwise, a new array
COMMENT of proper size is created.
COMMENT
COMMENT @see #writeLongArray(long[])
COMMENT @see #readLongArray()
COMMENT @see #readLongArray(long[])
COMMENT @return the read long array
COMMENT @throws io.netty.handler.codec.DecoderException if the read array has a
COMMENT length over {@code maxSize}
ARG 1 toArray
COMMENT the array to reuse
ARG 2 maxSize
COMMENT the max length of the read array
METHOD method_10810 readIdentifier ()Lnet/minecraft/class_2960;
COMMENT Reads an identifier from this buf. An identifier is represented by its
COMMENT string form. The read identifier's string form can have a max length of
COMMENT {@value #DEFAULT_MAX_STRING_LENGTH}.
COMMENT
COMMENT @return the read identifier
COMMENT @throws io.netty.handler.codec.DecoderException if the identifier's
COMMENT string form is longer than {@value #DEFAULT_MAX_STRING_LENGTH}
COMMENT @see #writeIdentifier(Identifier)
METHOD method_10811 readBlockPos ()Lnet/minecraft/class_2338;
COMMENT Reads a block position from this buf. A block position is represented by
COMMENT a regular long.
COMMENT
COMMENT @return the read block pos
COMMENT @see #writeBlockPos(BlockPos)
METHOD method_10812 writeIdentifier (Lnet/minecraft/class_2960;)Lnet/minecraft/class_2540;
COMMENT Writes an identifier to this buf. An identifier is represented by its
COMMENT string form. The written identifier's byte array can have a max length of
COMMENT {@value #DEFAULT_MAX_STRING_LENGTH}.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @throws io.netty.handler.codec.EncoderException if the {@code id}'s
COMMENT byte array is longer than {@value #DEFAULT_MAX_STRING_LENGTH}
COMMENT @see #readIdentifier()
ARG 1 id
COMMENT the identifier to write
METHOD method_10813 writeByteArray ([B)Lnet/minecraft/class_2540;
COMMENT Writes an array of primitive bytes to this buf. The array first has a
COMMENT var int indicating its length, followed by the actual bytes.
COMMENT
COMMENT @see #readByteArray()
COMMENT @return this buf, for chaining
ARG 1 array
COMMENT the array to write
METHOD method_10814 writeString (Ljava/lang/String;)Lnet/minecraft/class_2540;
COMMENT Writes a string to this buf. A string is represented by a byte array of
COMMENT its UTF-8 data. That byte array can have a maximum length of
COMMENT {@value #DEFAULT_MAX_STRING_LENGTH}.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @throws io.netty.handler.codec.EncoderException if the byte array of the
COMMENT string to write is longer than {@value #DEFAULT_MAX_STRING_LENGTH}
COMMENT @see #readString()
COMMENT @see #readString(int)
COMMENT @see #writeString(String, int)
ARG 1 string
COMMENT the string to write
METHOD method_10816 readVarInt ()I
COMMENT Reads a single var int from this buf.
COMMENT
COMMENT @return the value read
COMMENT @see #writeVarInt(int)
METHOD method_10817 writeEnumConstant (Ljava/lang/Enum;)Lnet/minecraft/class_2540;
COMMENT Writes an enum constant to this buf. An enum constant is represented
COMMENT by a var int indicating its ordinal.
COMMENT
COMMENT @return this buf, for chaining
COMMENT @see #readEnumConstant(Class)
ARG 1 instance
COMMENT the enum constant to write
METHOD method_10818 readEnumConstant (Ljava/lang/Class;)Ljava/lang/Enum;
COMMENT Reads an enum constant from this buf. An enum constant is represented
COMMENT by a var int indicating its ordinal.
COMMENT
COMMENT @return the read enum constant
COMMENT @see #writeEnumConstant(Enum)
ARG 1 enumClass
COMMENT the enum class, for constant lookup
METHOD method_17813 writeBlockHitResult (Lnet/minecraft/class_3965;)V
COMMENT Writes a block hit result to this buf. A block hit result is represented
COMMENT by a block position, a direction enum constant, 3 floats for the hit
COMMENT offset position, and a boolean for whether the hit was inside a block.
COMMENT
COMMENT @see #readBlockHitResult()
ARG 1 hitResult
COMMENT the block hit result to write
METHOD method_17814 readBlockHitResult ()Lnet/minecraft/class_3965;
COMMENT Reads a block hit result from this buf. A block hit result is represented
COMMENT by a block position, a direction enum constant, 3 floats for the hit
COMMENT offset position, and a boolean for whether the hit was inside a block.
COMMENT
COMMENT @return the read block hit result
COMMENT @see #writeBlockHitResult(BlockHitResult)
METHOD method_19456 readChunkSectionPos ()Lnet/minecraft/class_4076;
COMMENT Reads a chunk section position from this buf. A chunk section position is
COMMENT represented by a regular long.
COMMENT
COMMENT @return the read chunk section pos
COMMENT @see #writeChunkSectionPos(ChunkSectionPos)
METHOD method_19772 readString ()Ljava/lang/String;
COMMENT Reads a string from this buf. A string is represented by a byte array of
COMMENT its UTF-8 data. The string can have a maximum length of {@value
COMMENT #DEFAULT_MAX_STRING_LENGTH}.
COMMENT
COMMENT @return the string read
COMMENT @throws io.netty.handler.codec.DecoderException if the string read
COMMENT exceeds the maximum length
COMMENT @see #readString(int)
COMMENT @see #writeString(String)
COMMENT @see #writeString(String, int)
METHOD method_29171 decode (Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Lnet/minecraft/class_2505;)Ljava/lang/Object;
COMMENT Reads an object from this buf as a compound NBT with the given codec.
COMMENT
COMMENT @param This is the same as {@code readRegistryKey(Registries.ROOT)}.
COMMENT To read a registry key of a registered object (such as biomes),
COMMENT use {@link #readRegistryKey(RegistryKey)}.
COMMENT
COMMENT @return the read registry key
COMMENT @see #readRegistryKey(RegistryKey)
COMMENT @see #writeRegistryKey(RegistryKey)
METHOD method_56335 readBlockPos (Lio/netty/buffer/ByteBuf;)Lnet/minecraft/class_2338;
ARG 0 buf
METHOD method_56336 writeBlockPos (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_2338;)V
ARG 0 buf
ARG 1 pos
METHOD method_56337 writeUuid (Lio/netty/buffer/ByteBuf;Ljava/util/UUID;)V
ARG 0 buf
ARG 1 uuid
METHOD method_56338 writeQuaternionf (Lio/netty/buffer/ByteBuf;Lorg/joml/Quaternionf;)V
ARG 0 buf
ARG 1 quaternion
METHOD method_56339 writeVector3f (Lio/netty/buffer/ByteBuf;Lorg/joml/Vector3f;)V
ARG 0 buf
ARG 1 vector
METHOD method_56340 readNbt (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_2505;)Lnet/minecraft/class_2520;
ARG 0 buf
ARG 1 sizeTracker
METHOD method_56341 writeNbt (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_2520;)V
ARG 0 buf
ARG 1 nbt
METHOD method_56342 readVector3f (Lio/netty/buffer/ByteBuf;)Lorg/joml/Vector3f;
ARG 0 buf
METHOD method_56343 readQuaternionf (Lio/netty/buffer/ByteBuf;)Lorg/joml/Quaternionf;
ARG 0 buf
METHOD method_56344 readUuid (Lio/netty/buffer/ByteBuf;)Ljava/util/UUID;
ARG 0 buf
METHOD method_56345 readNbt (Lio/netty/buffer/ByteBuf;)Lnet/minecraft/class_2487;
ARG 0 buf
METHOD method_56890 readByteArray (Lio/netty/buffer/ByteBuf;)[B
ARG 0 buf
METHOD method_56891 readByteArray (Lio/netty/buffer/ByteBuf;I)[B
ARG 0 buf
ARG 1 maxSize
METHOD method_56892 writeNullable (Lio/netty/buffer/ByteBuf;Ljava/lang/Object;Lnet/minecraft/class_9142;)V
ARG 0 buf
ARG 1 value
ARG 2 writer
METHOD method_56893 readNullable (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_9141;)Ljava/lang/Object;
ARG 0 buf
ARG 1 reader
METHOD method_56894 writeByteArray (Lio/netty/buffer/ByteBuf;[B)V
ARG 0 buf
ARG 1 array
METHOD nioBuffer (II)Ljava/nio/ByteBuffer;
ARG 1 index
ARG 2 length
METHOD nioBuffers (II)[Ljava/nio/ByteBuffer;
ARG 1 index
ARG 2 length
METHOD order (Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;
ARG 1 byteOrder
METHOD readBytes (I)Lio/netty/buffer/ByteBuf;
ARG 1 length
METHOD readBytes (Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
ARG 1 buf
METHOD readBytes (Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
ARG 1 buf
ARG 2 length
METHOD readBytes (Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
ARG 1 buf
ARG 2 outputIndex
ARG 3 length
METHOD readBytes (Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
ARG 1 stream
ARG 2 length
METHOD readBytes (Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
ARG 1 buf
METHOD readBytes (Ljava/nio/channels/FileChannel;JI)I
ARG 1 channel
ARG 2 pos
ARG 4 length
METHOD readBytes (Ljava/nio/channels/GatheringByteChannel;I)I
ARG 1 channel
ARG 2 length
METHOD readBytes ([B)Lio/netty/buffer/ByteBuf;
ARG 1 bytes
METHOD readBytes ([BII)Lio/netty/buffer/ByteBuf;
ARG 1 bytes
ARG 2 outputIndex
ARG 3 length
METHOD readCharSequence (ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
ARG 1 length
ARG 2 charset
METHOD readRetainedSlice (I)Lio/netty/buffer/ByteBuf;
ARG 1 length
METHOD readSlice (I)Lio/netty/buffer/ByteBuf;
ARG 1 length
METHOD readerIndex (I)Lio/netty/buffer/ByteBuf;
ARG 1 index
METHOD release (I)Z
ARG 1 decrement
METHOD retain (I)Lio/netty/buffer/ByteBuf;
ARG 1 increment
METHOD retain (I)Lio/netty/util/ReferenceCounted;
ARG 1 increment
METHOD retainedSlice (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 length
METHOD setBoolean (IZ)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setByte (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setBytes (ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 buf
METHOD setBytes (ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 buf
ARG 3 length
METHOD setBytes (ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 buf
ARG 3 sourceIndex
ARG 4 length
METHOD setBytes (ILjava/io/InputStream;I)I
ARG 1 index
ARG 2 stream
ARG 3 length
METHOD setBytes (ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 buf
METHOD setBytes (ILjava/nio/channels/FileChannel;JI)I
ARG 1 index
ARG 2 channel
ARG 3 pos
ARG 5 length
METHOD setBytes (ILjava/nio/channels/ScatteringByteChannel;I)I
ARG 1 index
ARG 2 channel
ARG 3 length
METHOD setBytes (I[B)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 bytes
METHOD setBytes (I[BII)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 bytes
ARG 3 sourceIndex
ARG 4 length
METHOD setChar (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setCharSequence (ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I
ARG 1 index
ARG 2 sequence
ARG 3 charset
METHOD setDouble (ID)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setFloat (IF)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setIndex (II)Lio/netty/buffer/ByteBuf;
ARG 1 readerIndex
ARG 2 writerIndex
METHOD setInt (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setIntLE (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setLong (IJ)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setLongLE (IJ)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setMedium (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setMediumLE (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setShort (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setShortLE (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 value
METHOD setZero (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 length
METHOD skipBytes (I)Lio/netty/buffer/ByteBuf;
ARG 1 length
METHOD slice (II)Lio/netty/buffer/ByteBuf;
ARG 1 index
ARG 2 length
METHOD toString (IILjava/nio/charset/Charset;)Ljava/lang/String;
ARG 1 index
ARG 2 length
ARG 3 charset
METHOD toString (Ljava/nio/charset/Charset;)Ljava/lang/String;
ARG 1 charset
METHOD touch (Ljava/lang/Object;)Lio/netty/util/ReferenceCounted;
ARG 1 object
METHOD writeBoolean (Z)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeByte (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeBytes (Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
ARG 1 buf
METHOD writeBytes (Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
ARG 1 buf
ARG 2 length
METHOD writeBytes (Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
ARG 1 buf
ARG 2 sourceIndex
ARG 3 length
METHOD writeBytes (Ljava/io/InputStream;I)I
ARG 1 stream
ARG 2 length
METHOD writeBytes (Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
ARG 1 buf
METHOD writeBytes (Ljava/nio/channels/FileChannel;JI)I
ARG 1 channel
ARG 2 pos
ARG 4 length
METHOD writeBytes (Ljava/nio/channels/ScatteringByteChannel;I)I
ARG 1 channel
ARG 2 length
METHOD writeBytes ([B)Lio/netty/buffer/ByteBuf;
ARG 1 bytes
METHOD writeBytes ([BII)Lio/netty/buffer/ByteBuf;
ARG 1 bytes
ARG 2 sourceIndex
ARG 3 length
METHOD writeChar (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeCharSequence (Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
ARG 1 sequence
ARG 2 charset
METHOD writeDouble (D)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeFloat (F)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeInt (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeIntLE (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeLong (J)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeLongLE (J)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeMedium (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeMediumLE (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeShort (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeShortLE (I)Lio/netty/buffer/ByteBuf;
ARG 1 value
METHOD writeZero (I)Lio/netty/buffer/ByteBuf;
ARG 1 length
METHOD writerIndex (I)Lio/netty/buffer/ByteBuf;
ARG 1 index