Package net.minecraft.network
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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intprivate static final com.google.gson.Gsonstatic final intprivate static final intprivate static final intstatic final shortprivate static final intprivate final io.netty.buffer.ByteBuf
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionio.netty.buffer.ByteBufAllocatoralloc()byte[]array()intio.netty.buffer.ByteBufintbytesBefore(byte p_130108_) intbytesBefore(int p_130110_, byte p_130111_) intbytesBefore(int p_130113_, int p_130114_, byte p_130115_) intcapacity()capacity(int p_300133_) clear()intcompareTo(io.netty.buffer.ByteBuf p_130123_) io.netty.buffer.ByteBufcopy()io.netty.buffer.ByteBufcopy(int p_130128_, int p_130129_) io.netty.buffer.ByteBufensureWritable(int p_301044_) intensureWritable(int p_130141_, boolean p_130142_) booleanintforEachByte(int p_130146_, int p_130147_, io.netty.util.ByteProcessor p_130148_) intforEachByte(io.netty.util.ByteProcessor p_130150_) intforEachByteDesc(int p_130152_, int p_130153_, io.netty.util.ByteProcessor p_130154_) intforEachByteDesc(io.netty.util.ByteProcessor p_130156_) booleangetBoolean(int p_130159_) bytegetByte(int p_130161_) getBytes(int p_300928_, byte[] p_297630_) getBytes(int p_299455_, byte[] p_300069_, int p_300847_, int p_299513_) getBytes(int p_299985_, io.netty.buffer.ByteBuf p_298214_) getBytes(int p_300246_, io.netty.buffer.ByteBuf p_301111_, int p_300978_) getBytes(int p_300430_, io.netty.buffer.ByteBuf p_297846_, int p_300610_, int p_299363_) getBytes(int p_298241_, OutputStream p_301151_, int p_299913_) getBytes(int p_299731_, ByteBuffer p_299164_) intgetBytes(int p_130182_, FileChannel p_130183_, long p_130184_, int p_130185_) intgetBytes(int p_130187_, GatheringByteChannel p_130188_, int p_130189_) chargetChar(int p_130199_) getCharSequence(int p_130201_, int p_130202_, Charset p_130203_) doublegetDouble(int p_130205_) floatgetFloat(int p_130207_) intgetInt(int p_130209_) intgetIntLE(int p_130211_) longgetLong(int p_130213_) longgetLongLE(int p_130215_) intgetMedium(int p_130217_) intgetMediumLE(int p_130219_) shortgetShort(int p_130221_) shortgetShortLE(int p_130223_) shortgetUnsignedByte(int p_130225_) longgetUnsignedInt(int p_130227_) longgetUnsignedIntLE(int p_130229_) intgetUnsignedMedium(int p_130231_) intgetUnsignedMediumLE(int p_130233_) intgetUnsignedShort(int p_130235_) intgetUnsignedShortLE(int p_130237_) booleanhasArray()inthashCode()booleanintindexOf(int p_130244_, int p_130245_, byte p_130246_) internalNioBuffer(int p_130248_, int p_130249_) booleanbooleanisDirect()booleanbooleanisReadable(int p_130254_) booleanbooleanbooleanisWritable(int p_130257_) static <T> IntFunction<T> limitValue(IntFunction<T> p_182696_, int p_182697_) intintintlongnioBuffer(int p_130270_, int p_130271_) intnioBuffers(int p_130275_, int p_130276_) order()io.netty.buffer.ByteBufintstatic BlockPosreadBlockPos(io.netty.buffer.ByteBuf p_329034_) boolean<T> TreadById(IntFunction<T> p_300981_) bytereadByte()byte[]byte[]readByteArray(int p_130102_) static byte[]readByteArray(io.netty.buffer.ByteBuf p_328205_) static byte[]readByteArray(io.netty.buffer.ByteBuf p_329949_, int p_330919_) readBytes(byte[] p_299454_) readBytes(byte[] p_299845_, int p_297363_, int p_299384_) io.netty.buffer.ByteBufreadBytes(int p_130287_) readBytes(io.netty.buffer.ByteBuf p_300560_) readBytes(io.netty.buffer.ByteBuf p_299224_, int p_300166_) readBytes(io.netty.buffer.ByteBuf p_301382_, int p_300030_, int p_300211_) readBytes(OutputStream p_300218_, int p_298001_) readBytes(ByteBuffer p_297688_) intreadBytes(FileChannel p_130303_, long p_130304_, int p_130305_) intreadBytes(GatheringByteChannel p_130307_, int p_130308_) charreadChar()readCharSequence(int p_130317_, Charset p_130318_) <T,C extends Collection<T>> 
 CreadCollection(IntFunction<C> p_236839_, StreamDecoder<? super FriendlyByteBuf, T> p_332288_) readDate()double<T extends Enum<T>>
 TreadEnumSet(Class<E> p_251289_) intreaderIndex(int p_300300_) readFixedBitSet(int p_249113_) floatintreadInt()it.unimi.dsi.fastutil.ints.IntListint<T> TreadJsonWithCodec(com.mojang.serialization.Codec<T> p_273318_) <T> List<T> readList(StreamDecoder<? super FriendlyByteBuf, T> p_335526_) longreadLong()long[]long[]readLongArray(long[] p_130106_) long[]readLongArray(long[] p_130094_, int p_130095_) long<K,V, M extends Map<K, V>> 
 MreadMap(IntFunction<M> p_236842_, StreamDecoder<? super FriendlyByteBuf, K> p_331258_, StreamDecoder<? super FriendlyByteBuf, V> p_332787_) <K,V> Map <K, V> readMap(StreamDecoder<? super FriendlyByteBuf, K> p_331841_, StreamDecoder<? super FriendlyByteBuf, V> p_328220_) intintreadNbt()static CompoundTagreadNbt(io.netty.buffer.ByteBuf p_328524_) static TagreadNbt(io.netty.buffer.ByteBuf p_334505_, NbtAccounter p_333893_) readNbt(NbtAccounter p_130082_) static <T,B extends io.netty.buffer.ByteBuf> 
 TreadNullable(B p_332661_, StreamDecoder<? super B, T> p_332281_) <T> TreadNullable(StreamDecoder<? super FriendlyByteBuf, T> p_334486_) <T> Optional<T> readOptional(StreamDecoder<? super FriendlyByteBuf, T> p_334254_) org.joml.Quaternionfstatic org.joml.QuaternionfreadQuaternion(io.netty.buffer.ByteBuf p_328264_) <T> ResourceKey<? extends Registry<T>> <T> ResourceKey<T> readResourceKey(ResourceKey<? extends Registry<T>> p_236802_) io.netty.buffer.ByteBufreadRetainedSlice(int p_130328_) shortshortio.netty.buffer.ByteBufreadSlice(int p_130332_) shortlonglongintintintintreadUtf()readUtf(int p_130137_) readUUID()static UUIDreadUUID(io.netty.buffer.ByteBuf p_330717_) intint[]int[]readVarIntArray(int p_130117_) longreadVec3()org.joml.Vector3fstatic org.joml.Vector3freadVector3f(io.netty.buffer.ByteBuf p_330751_) <T> TreadWithCodec(com.mojang.serialization.DynamicOps<Tag> p_266903_, com.mojang.serialization.Codec<T> p_267107_, NbtAccounter p_300072_) Deprecated.<T> TreadWithCodecTrusted(com.mojang.serialization.DynamicOps<Tag> p_300704_, com.mojang.serialization.Codec<T> p_298353_) Deprecated.voidreadWithCount(Consumer<FriendlyByteBuf> p_178365_) intrefCnt()booleanrelease()booleanrelease(int p_130347_) retain()retain(int p_299349_) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufretainedSlice(int p_130359_, int p_130360_) setBoolean(int p_299892_, boolean p_297333_) setByte(int p_297325_, int p_300406_) setBytes(int p_297553_, byte[] p_300329_) setBytes(int p_297451_, byte[] p_300466_, int p_297825_, int p_299499_) setBytes(int p_300769_, io.netty.buffer.ByteBuf p_301342_) setBytes(int p_300924_, io.netty.buffer.ByteBuf p_301233_, int p_299359_) setBytes(int p_299338_, io.netty.buffer.ByteBuf p_299810_, int p_301059_, int p_297827_) intsetBytes(int p_130380_, InputStream p_130381_, int p_130382_) setBytes(int p_297596_, ByteBuffer p_299096_) intsetBytes(int p_130387_, FileChannel p_130388_, long p_130389_, int p_130390_) intsetBytes(int p_130392_, ScatteringByteChannel p_130393_, int p_130394_) setChar(int p_297413_, int p_297953_) intsetCharSequence(int p_130407_, CharSequence p_130408_, Charset p_130409_) setDouble(int p_301027_, double p_299551_) setFloat(int p_297779_, float p_297840_) setIndex(int p_298280_, int p_301012_) setInt(int p_299176_, int p_301413_) setIntLE(int p_300111_, int p_297978_) setLong(int p_298039_, long p_298360_) setLongLE(int p_300929_, long p_299282_) setMedium(int p_300490_, int p_299067_) setMediumLE(int p_300630_, int p_299351_) setShort(int p_297216_, int p_298749_) setShortLE(int p_299646_, int p_298038_) setZero(int p_297586_, int p_299960_) skipBytes(int p_300784_) io.netty.buffer.ByteBufslice()io.netty.buffer.ByteBufslice(int p_130450_, int p_130451_) toString()touch()io.netty.buffer.ByteBufunwrap()wrap(io.netty.buffer.ByteBuf data) intvoidwriteBitSet(BitSet p_178351_) voidwriteBlockHitResult(BlockHitResult p_130063_) static voidwriteBlockPos(io.netty.buffer.ByteBuf p_329209_, BlockPos p_331076_) writeBlockPos(BlockPos p_130065_) writeBoolean(boolean p_300653_) <T> FriendlyByteBufwriteById(ToIntFunction<T> p_297872_, T p_300123_) writeByte(int p_299498_) writeByteArray(byte[] p_130088_) static voidwriteByteArray(io.netty.buffer.ByteBuf p_331989_, byte[] p_332475_) writeBytes(byte[] p_299214_) writeBytes(byte[] p_298410_, int p_297608_, int p_300690_) writeBytes(io.netty.buffer.ByteBuf p_300943_) writeBytes(io.netty.buffer.ByteBuf p_298105_, int p_299600_) writeBytes(io.netty.buffer.ByteBuf p_299075_, int p_301207_, int p_299710_) intwriteBytes(InputStream p_130481_, int p_130482_) writeBytes(ByteBuffer p_300889_) intwriteBytes(FileChannel p_130486_, long p_130487_, int p_130488_) intwriteBytes(ScatteringByteChannel p_130490_, int p_130491_) writeChar(int p_300374_) intwriteCharSequence(CharSequence p_130501_, Charset p_130502_) writeChunkPos(ChunkPos p_178342_) <T> voidwriteCollection(Collection<T> p_236829_, StreamEncoder<? super FriendlyByteBuf, T> p_330754_) writeDouble(double p_301246_) <E extends Enum<E>>
 voidwriteEnumSet(EnumSet<E> p_250400_, Class<E> p_250673_) voidwriteFixedBitSet(BitSet p_248698_, int p_248869_) writeFloat(float p_299476_) voidwriteGlobalPos(GlobalPos p_236815_) voidwriteInstant(Instant p_236827_) writeInt(int p_301066_) voidwriteIntIdList(it.unimi.dsi.fastutil.ints.IntList p_178346_) writeIntLE(int p_299068_) <T> voidwriteJsonWithCodec(com.mojang.serialization.Codec<T> p_273285_, T p_272770_) writeLong(long p_300584_) writeLongArray(long[] p_130092_) writeLongLE(long p_298747_) <K,V> void writeMap(Map<K, V> p_236832_, StreamEncoder<? super FriendlyByteBuf, K> p_332360_, StreamEncoder<? super FriendlyByteBuf, V> p_331674_) writeMedium(int p_299802_) writeMediumLE(int p_301291_) static voidstatic <T,B extends io.netty.buffer.ByteBuf> 
 voidwriteNullable(B p_334011_, T p_236822_, StreamEncoder<? super B, T> p_335434_) <T> voidwriteNullable(T p_329857_, StreamEncoder<? super FriendlyByteBuf, T> p_330309_) <T> voidwriteOptional(Optional<T> p_236836_, StreamEncoder<? super FriendlyByteBuf, T> p_327886_) writePublicKey(PublicKey p_236825_) static voidwriteQuaternion(io.netty.buffer.ByteBuf p_327848_, org.joml.Quaternionf p_335470_) voidwriteQuaternion(org.joml.Quaternionf p_270141_) voidwriteResourceKey(ResourceKey<?> p_236859_) writeResourceLocation(ResourceLocation p_130086_) intwriterIndex(int p_298940_) writeSectionPos(SectionPos p_178344_) writeShort(int p_299519_) writeShortLE(int p_297214_) static voidwriteVarInt(int p_130131_) writeVarIntArray(int[] p_130090_) writeVarLong(long p_130104_) voidstatic voidwriteVector3f(io.netty.buffer.ByteBuf p_334705_, org.joml.Vector3f p_328655_) voidwriteVector3f(org.joml.Vector3f p_270985_) <T> FriendlyByteBufwriteWithCodec(com.mojang.serialization.DynamicOps<Tag> p_266702_, com.mojang.serialization.Codec<T> p_267245_, T p_266783_) Deprecated.writeZero(int p_298160_) Methods inherited from class io.netty.buffer.ByteBufasByteBuf, getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
- 
Field Details- 
DEFAULT_NBT_QUOTApublic static final int DEFAULT_NBT_QUOTA- See Also:
 
- 
sourceprivate final io.netty.buffer.ByteBuf source
- 
MAX_STRING_LENGTHpublic static final short MAX_STRING_LENGTH- See Also:
 
- 
MAX_COMPONENT_STRING_LENGTHpublic static final int MAX_COMPONENT_STRING_LENGTH- See Also:
 
- 
PUBLIC_KEY_SIZEprivate static final int PUBLIC_KEY_SIZE- See Also:
 
- 
MAX_PUBLIC_KEY_HEADER_SIZEprivate static final int MAX_PUBLIC_KEY_HEADER_SIZE- See Also:
 
- 
MAX_PUBLIC_KEY_LENGTHprivate static final int MAX_PUBLIC_KEY_LENGTH- See Also:
 
- 
GSONprivate static final com.google.gson.Gson GSON
 
- 
- 
Constructor Details- 
FriendlyByteBufpublic 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.
- 
readJsonWithCodecpublic <T> T readJsonWithCodec(com.mojang.serialization.Codec<T> p_273318_) 
- 
writeJsonWithCodecpublic <T> void writeJsonWithCodec(com.mojang.serialization.Codec<T> p_273285_, T p_272770_) 
- 
limitValue
- 
readCollectionpublic <T,C extends Collection<T>> C readCollection(IntFunction<C> p_236839_, StreamDecoder<? super FriendlyByteBuf, T> p_332288_) 
- 
writeCollectionpublic <T> void writeCollection(Collection<T> p_236829_, StreamEncoder<? super FriendlyByteBuf, T> p_330754_) 
- 
readList
- 
readIntIdListpublic it.unimi.dsi.fastutil.ints.IntList readIntIdList()
- 
writeIntIdListpublic void writeIntIdList(it.unimi.dsi.fastutil.ints.IntList p_178346_) 
- 
readMappublic <K,V, M readMapM extends Map<K, V>> (IntFunction<M> p_236842_, StreamDecoder<? super FriendlyByteBuf, K> p_331258_, StreamDecoder<? super FriendlyByteBuf, V> p_332787_) 
- 
readMappublic <K,V> Map<K,V> readMap(StreamDecoder<? super FriendlyByteBuf, K> p_331841_, StreamDecoder<? super FriendlyByteBuf, V> p_328220_) 
- 
writeMappublic <K,V> void writeMap(Map<K, V> p_236832_, StreamEncoder<? super FriendlyByteBuf, K> p_332360_, StreamEncoder<? super FriendlyByteBuf, V> p_331674_) 
- 
readWithCount
- 
writeEnumSet
- 
readEnumSet
- 
writeOptionalpublic <T> void writeOptional(Optional<T> p_236836_, StreamEncoder<? super FriendlyByteBuf, T> p_327886_) 
- 
readOptional
- 
readNullable
- 
readNullable@Nullable public static <T,B extends io.netty.buffer.ByteBuf> T readNullable(B p_332661_, StreamDecoder<? super B, T> p_332281_) 
- 
writeNullablepublic <T> void writeNullable(@Nullable T p_329857_, StreamEncoder<? super FriendlyByteBuf, T> p_330309_) 
- 
writeNullablepublic static <T,B extends io.netty.buffer.ByteBuf> void writeNullable(B p_334011_, @Nullable T p_236822_, StreamEncoder<? super B, T> p_335434_) 
- 
readByteArraypublic byte[] readByteArray()
- 
readByteArraypublic static byte[] readByteArray(io.netty.buffer.ByteBuf p_328205_) 
- 
writeByteArray
- 
writeByteArraypublic static void writeByteArray(io.netty.buffer.ByteBuf p_331989_, byte[] p_332475_) 
- 
readByteArraypublic byte[] readByteArray(int p_130102_) 
- 
readByteArraypublic static byte[] readByteArray(io.netty.buffer.ByteBuf p_329949_, int p_330919_) 
- 
writeVarIntArray
- 
readVarIntArraypublic int[] readVarIntArray()
- 
readVarIntArraypublic int[] readVarIntArray(int p_130117_) 
- 
writeLongArray
- 
readLongArraypublic long[] readLongArray()
- 
readLongArraypublic long[] readLongArray(@Nullable long[] p_130106_) 
- 
readLongArraypublic long[] readLongArray(@Nullable long[] p_130094_, int p_130095_) 
- 
readBlockPos
- 
readBlockPos
- 
writeBlockPos
- 
writeBlockPos
- 
readChunkPos
- 
writeChunkPos
- 
readSectionPos
- 
writeSectionPos
- 
readGlobalPos
- 
writeGlobalPos
- 
readVector3fpublic org.joml.Vector3f readVector3f()
- 
readVector3fpublic static org.joml.Vector3f readVector3f(io.netty.buffer.ByteBuf p_330751_) 
- 
writeVector3fpublic void writeVector3f(org.joml.Vector3f p_270985_) 
- 
writeVector3fpublic static void writeVector3f(io.netty.buffer.ByteBuf p_334705_, org.joml.Vector3f p_328655_) 
- 
readQuaternionpublic org.joml.Quaternionf readQuaternion()
- 
readQuaternionpublic static org.joml.Quaternionf readQuaternion(io.netty.buffer.ByteBuf p_328264_) 
- 
writeQuaternionpublic void writeQuaternion(org.joml.Quaternionf p_270141_) 
- 
writeQuaternionpublic static void writeQuaternion(io.netty.buffer.ByteBuf p_327848_, org.joml.Quaternionf p_335470_) 
- 
readVec3
- 
writeVec3
- 
readEnum
- 
writeEnum
- 
readById
- 
writeById
- 
readVarIntpublic int readVarInt()
- 
readVarLongpublic long readVarLong()
- 
writeUUID
- 
writeUUID
- 
readUUID
- 
readUUID
- 
writeVarInt
- 
writeVarLong
- 
writeNbt
- 
writeNbt
- 
readNbt
- 
readNbt
- 
readNbt
- 
readNbt
- 
readUtf
- 
readUtf
- 
writeUtf
- 
writeUtf
- 
readResourceLocation
- 
writeResourceLocation
- 
readResourceKey
- 
writeResourceKey
- 
readRegistryKey
- 
readDate
- 
writeDate
- 
readInstant
- 
writeInstant
- 
readPublicKey
- 
writePublicKey
- 
readBlockHitResult
- 
writeBlockHitResult
- 
readBitSet
- 
writeBitSet
- 
readFixedBitSet
- 
writeFixedBitSet
- 
isContiguouspublic boolean isContiguous()- Overrides:
- isContiguousin class- io.netty.buffer.ByteBuf
 
- 
maxFastWritableBytespublic int maxFastWritableBytes()- Overrides:
- maxFastWritableBytesin class- io.netty.buffer.ByteBuf
 
- 
capacitypublic int capacity()- Specified by:
- capacityin class- io.netty.buffer.ByteBuf
 
- 
capacity- Specified by:
- capacityin class- io.netty.buffer.ByteBuf
 
- 
maxCapacitypublic int maxCapacity()- Specified by:
- maxCapacityin class- io.netty.buffer.ByteBuf
 
- 
allocpublic io.netty.buffer.ByteBufAllocator alloc()- Specified by:
- allocin class- io.netty.buffer.ByteBuf
 
- 
order- Specified by:
- orderin class- io.netty.buffer.ByteBuf
 
- 
order- Specified by:
- orderin class- io.netty.buffer.ByteBuf
 
- 
unwrappublic io.netty.buffer.ByteBuf unwrap()- Specified by:
- unwrapin class- io.netty.buffer.ByteBuf
 
- 
isDirectpublic boolean isDirect()- Specified by:
- isDirectin class- io.netty.buffer.ByteBuf
 
- 
isReadOnlypublic boolean isReadOnly()- Specified by:
- isReadOnlyin class- io.netty.buffer.ByteBuf
 
- 
asReadOnlypublic io.netty.buffer.ByteBuf asReadOnly()- Specified by:
- asReadOnlyin class- io.netty.buffer.ByteBuf
 
- 
readerIndexpublic int readerIndex()- Specified by:
- readerIndexin class- io.netty.buffer.ByteBuf
 
- 
readerIndex- Specified by:
- readerIndexin class- io.netty.buffer.ByteBuf
 
- 
writerIndexpublic int writerIndex()- Specified by:
- writerIndexin class- io.netty.buffer.ByteBuf
 
- 
writerIndex- Specified by:
- writerIndexin class- io.netty.buffer.ByteBuf
 
- 
setIndex- Specified by:
- setIndexin class- io.netty.buffer.ByteBuf
 
- 
readableBytespublic int readableBytes()- Specified by:
- readableBytesin class- io.netty.buffer.ByteBuf
 
- 
writableBytespublic int writableBytes()- Specified by:
- writableBytesin class- io.netty.buffer.ByteBuf
 
- 
maxWritableBytespublic int maxWritableBytes()- Specified by:
- maxWritableBytesin class- io.netty.buffer.ByteBuf
 
- 
isReadablepublic boolean isReadable()- Specified by:
- isReadablein class- io.netty.buffer.ByteBuf
 
- 
isReadablepublic boolean isReadable(int p_130254_) - Specified by:
- isReadablein class- io.netty.buffer.ByteBuf
 
- 
isWritablepublic boolean isWritable()- Specified by:
- isWritablein class- io.netty.buffer.ByteBuf
 
- 
isWritablepublic boolean isWritable(int p_130257_) - Specified by:
- isWritablein class- io.netty.buffer.ByteBuf
 
- 
clear- Specified by:
- clearin class- io.netty.buffer.ByteBuf
 
- 
markReaderIndex- Specified by:
- markReaderIndexin class- io.netty.buffer.ByteBuf
 
- 
resetReaderIndex- Specified by:
- resetReaderIndexin class- io.netty.buffer.ByteBuf
 
- 
markWriterIndex- Specified by:
- markWriterIndexin class- io.netty.buffer.ByteBuf
 
- 
resetWriterIndex- Specified by:
- resetWriterIndexin class- io.netty.buffer.ByteBuf
 
- 
discardReadBytes- Specified by:
- discardReadBytesin class- io.netty.buffer.ByteBuf
 
- 
discardSomeReadBytes- Specified by:
- discardSomeReadBytesin class- io.netty.buffer.ByteBuf
 
- 
ensureWritable- Specified by:
- ensureWritablein class- io.netty.buffer.ByteBuf
 
- 
ensureWritablepublic int ensureWritable(int p_130141_, boolean p_130142_) - Specified by:
- ensureWritablein class- io.netty.buffer.ByteBuf
 
- 
getBooleanpublic boolean getBoolean(int p_130159_) - Specified by:
- getBooleanin class- io.netty.buffer.ByteBuf
 
- 
getBytepublic byte getByte(int p_130161_) - Specified by:
- getBytein class- io.netty.buffer.ByteBuf
 
- 
getUnsignedBytepublic short getUnsignedByte(int p_130225_) - Specified by:
- getUnsignedBytein class- io.netty.buffer.ByteBuf
 
- 
getShortpublic short getShort(int p_130221_) - Specified by:
- getShortin class- io.netty.buffer.ByteBuf
 
- 
getShortLEpublic short getShortLE(int p_130223_) - Specified by:
- getShortLEin class- io.netty.buffer.ByteBuf
 
- 
getUnsignedShortpublic int getUnsignedShort(int p_130235_) - Specified by:
- getUnsignedShortin class- io.netty.buffer.ByteBuf
 
- 
getUnsignedShortLEpublic int getUnsignedShortLE(int p_130237_) - Specified by:
- getUnsignedShortLEin class- io.netty.buffer.ByteBuf
 
- 
getMediumpublic int getMedium(int p_130217_) - Specified by:
- getMediumin class- io.netty.buffer.ByteBuf
 
- 
getMediumLEpublic int getMediumLE(int p_130219_) - Specified by:
- getMediumLEin class- io.netty.buffer.ByteBuf
 
- 
getUnsignedMediumpublic int getUnsignedMedium(int p_130231_) - Specified by:
- getUnsignedMediumin class- io.netty.buffer.ByteBuf
 
- 
getUnsignedMediumLEpublic int getUnsignedMediumLE(int p_130233_) - Specified by:
- getUnsignedMediumLEin class- io.netty.buffer.ByteBuf
 
- 
getIntpublic int getInt(int p_130209_) - Specified by:
- getIntin class- io.netty.buffer.ByteBuf
 
- 
getIntLEpublic int getIntLE(int p_130211_) - Specified by:
- getIntLEin class- io.netty.buffer.ByteBuf
 
- 
getUnsignedIntpublic long getUnsignedInt(int p_130227_) - Specified by:
- getUnsignedIntin class- io.netty.buffer.ByteBuf
 
- 
getUnsignedIntLEpublic long getUnsignedIntLE(int p_130229_) - Specified by:
- getUnsignedIntLEin class- io.netty.buffer.ByteBuf
 
- 
getLongpublic long getLong(int p_130213_) - Specified by:
- getLongin class- io.netty.buffer.ByteBuf
 
- 
getLongLEpublic long getLongLE(int p_130215_) - Specified by:
- getLongLEin class- io.netty.buffer.ByteBuf
 
- 
getCharpublic char getChar(int p_130199_) - Specified by:
- getCharin class- io.netty.buffer.ByteBuf
 
- 
getFloatpublic float getFloat(int p_130207_) - Specified by:
- getFloatin class- io.netty.buffer.ByteBuf
 
- 
getDoublepublic double getDouble(int p_130205_) - Specified by:
- getDoublein class- io.netty.buffer.ByteBuf
 
- 
getBytes- Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
 
- 
getBytes- Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
 
- 
getBytespublic FriendlyByteBuf getBytes(int p_300430_, io.netty.buffer.ByteBuf p_297846_, int p_300610_, int p_299363_) - Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
 
- 
getBytes- Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
 
- 
getBytes- Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
 
- 
getBytes- Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
 
- 
getBytespublic FriendlyByteBuf getBytes(int p_298241_, OutputStream p_301151_, int p_299913_) throws IOException - Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
getBytespublic int getBytes(int p_130187_, GatheringByteChannel p_130188_, int p_130189_) throws IOException - Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
getBytespublic int getBytes(int p_130182_, FileChannel p_130183_, long p_130184_, int p_130185_) throws IOException - Specified by:
- getBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
getCharSequence- Specified by:
- getCharSequencein class- io.netty.buffer.ByteBuf
 
- 
setBoolean- Specified by:
- setBooleanin class- io.netty.buffer.ByteBuf
 
- 
setByte- Specified by:
- setBytein class- io.netty.buffer.ByteBuf
 
- 
setShort- Specified by:
- setShortin class- io.netty.buffer.ByteBuf
 
- 
setShortLE- Specified by:
- setShortLEin class- io.netty.buffer.ByteBuf
 
- 
setMedium- Specified by:
- setMediumin class- io.netty.buffer.ByteBuf
 
- 
setMediumLE- Specified by:
- setMediumLEin class- io.netty.buffer.ByteBuf
 
- 
setInt- Specified by:
- setIntin class- io.netty.buffer.ByteBuf
 
- 
setIntLE- Specified by:
- setIntLEin class- io.netty.buffer.ByteBuf
 
- 
setLong- Specified by:
- setLongin class- io.netty.buffer.ByteBuf
 
- 
setLongLE- Specified by:
- setLongLEin class- io.netty.buffer.ByteBuf
 
- 
setChar- Specified by:
- setCharin class- io.netty.buffer.ByteBuf
 
- 
setFloat- Specified by:
- setFloatin class- io.netty.buffer.ByteBuf
 
- 
setDouble- Specified by:
- setDoublein class- io.netty.buffer.ByteBuf
 
- 
setBytes- Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
 
- 
setBytes- Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
 
- 
setBytespublic FriendlyByteBuf setBytes(int p_299338_, io.netty.buffer.ByteBuf p_299810_, int p_301059_, int p_297827_) - Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
 
- 
setBytes- Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
 
- 
setBytes- Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
 
- 
setBytes- Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
 
- 
setBytes- Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
setBytespublic int setBytes(int p_130392_, ScatteringByteChannel p_130393_, int p_130394_) throws IOException - Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
setBytespublic int setBytes(int p_130387_, FileChannel p_130388_, long p_130389_, int p_130390_) throws IOException - Specified by:
- setBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
setZero- Specified by:
- setZeroin class- io.netty.buffer.ByteBuf
 
- 
setCharSequence- Specified by:
- setCharSequencein class- io.netty.buffer.ByteBuf
 
- 
readBooleanpublic boolean readBoolean()- Specified by:
- readBooleanin class- io.netty.buffer.ByteBuf
 
- 
readBytepublic byte readByte()- Specified by:
- readBytein class- io.netty.buffer.ByteBuf
 
- 
readUnsignedBytepublic short readUnsignedByte()- Specified by:
- readUnsignedBytein class- io.netty.buffer.ByteBuf
 
- 
readShortpublic short readShort()- Specified by:
- readShortin class- io.netty.buffer.ByteBuf
 
- 
readShortLEpublic short readShortLE()- Specified by:
- readShortLEin class- io.netty.buffer.ByteBuf
 
- 
readUnsignedShortpublic int readUnsignedShort()- Specified by:
- readUnsignedShortin class- io.netty.buffer.ByteBuf
 
- 
readUnsignedShortLEpublic int readUnsignedShortLE()- Specified by:
- readUnsignedShortLEin class- io.netty.buffer.ByteBuf
 
- 
readMediumpublic int readMedium()- Specified by:
- readMediumin class- io.netty.buffer.ByteBuf
 
- 
readMediumLEpublic int readMediumLE()- Specified by:
- readMediumLEin class- io.netty.buffer.ByteBuf
 
- 
readUnsignedMediumpublic int readUnsignedMedium()- Specified by:
- readUnsignedMediumin class- io.netty.buffer.ByteBuf
 
- 
readUnsignedMediumLEpublic int readUnsignedMediumLE()- Specified by:
- readUnsignedMediumLEin class- io.netty.buffer.ByteBuf
 
- 
readIntpublic int readInt()- Specified by:
- readIntin class- io.netty.buffer.ByteBuf
 
- 
readIntLEpublic int readIntLE()- Specified by:
- readIntLEin class- io.netty.buffer.ByteBuf
 
- 
readUnsignedIntpublic long readUnsignedInt()- Specified by:
- readUnsignedIntin class- io.netty.buffer.ByteBuf
 
- 
readUnsignedIntLEpublic long readUnsignedIntLE()- Specified by:
- readUnsignedIntLEin class- io.netty.buffer.ByteBuf
 
- 
readLongpublic long readLong()- Specified by:
- readLongin class- io.netty.buffer.ByteBuf
 
- 
readLongLEpublic long readLongLE()- Specified by:
- readLongLEin class- io.netty.buffer.ByteBuf
 
- 
readCharpublic char readChar()- Specified by:
- readCharin class- io.netty.buffer.ByteBuf
 
- 
readFloatpublic float readFloat()- Specified by:
- readFloatin class- io.netty.buffer.ByteBuf
 
- 
readDoublepublic double readDouble()- Specified by:
- readDoublein class- io.netty.buffer.ByteBuf
 
- 
readBytespublic io.netty.buffer.ByteBuf readBytes(int p_130287_) - Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
 
- 
readSlicepublic io.netty.buffer.ByteBuf readSlice(int p_130332_) - Specified by:
- readSlicein class- io.netty.buffer.ByteBuf
 
- 
readRetainedSlicepublic io.netty.buffer.ByteBuf readRetainedSlice(int p_130328_) - Specified by:
- readRetainedSlicein class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
readCharSequence- Specified by:
- readCharSequencein class- io.netty.buffer.ByteBuf
 
- 
readBytes- Specified by:
- readBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
skipBytes- Specified by:
- skipBytesin class- io.netty.buffer.ByteBuf
 
- 
writeBoolean- Specified by:
- writeBooleanin class- io.netty.buffer.ByteBuf
 
- 
writeByte- Specified by:
- writeBytein class- io.netty.buffer.ByteBuf
 
- 
writeShort- Specified by:
- writeShortin class- io.netty.buffer.ByteBuf
 
- 
writeShortLE- Specified by:
- writeShortLEin class- io.netty.buffer.ByteBuf
 
- 
writeMedium- Specified by:
- writeMediumin class- io.netty.buffer.ByteBuf
 
- 
writeMediumLE- Specified by:
- writeMediumLEin class- io.netty.buffer.ByteBuf
 
- 
writeInt- Specified by:
- writeIntin class- io.netty.buffer.ByteBuf
 
- 
writeIntLE- Specified by:
- writeIntLEin class- io.netty.buffer.ByteBuf
 
- 
writeLong- Specified by:
- writeLongin class- io.netty.buffer.ByteBuf
 
- 
writeLongLE- Specified by:
- writeLongLEin class- io.netty.buffer.ByteBuf
 
- 
writeChar- Specified by:
- writeCharin class- io.netty.buffer.ByteBuf
 
- 
writeFloat- Specified by:
- writeFloatin class- io.netty.buffer.ByteBuf
 
- 
writeDouble- Specified by:
- writeDoublein class- io.netty.buffer.ByteBuf
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
writeBytes- Specified by:
- writeBytesin class- io.netty.buffer.ByteBuf
- Throws:
- IOException
 
- 
writeZero- Specified by:
- writeZeroin class- io.netty.buffer.ByteBuf
 
- 
writeCharSequence- Specified by:
- writeCharSequencein class- io.netty.buffer.ByteBuf
 
- 
indexOfpublic int indexOf(int p_130244_, int p_130245_, byte p_130246_) - Specified by:
- indexOfin class- io.netty.buffer.ByteBuf
 
- 
bytesBeforepublic int bytesBefore(byte p_130108_) - Specified by:
- bytesBeforein class- io.netty.buffer.ByteBuf
 
- 
bytesBeforepublic int bytesBefore(int p_130110_, byte p_130111_) - Specified by:
- bytesBeforein class- io.netty.buffer.ByteBuf
 
- 
bytesBeforepublic int bytesBefore(int p_130113_, int p_130114_, byte p_130115_) - Specified by:
- bytesBeforein class- io.netty.buffer.ByteBuf
 
- 
forEachBytepublic int forEachByte(io.netty.util.ByteProcessor p_130150_) - Specified by:
- forEachBytein class- io.netty.buffer.ByteBuf
 
- 
forEachBytepublic int forEachByte(int p_130146_, int p_130147_, io.netty.util.ByteProcessor p_130148_) - Specified by:
- forEachBytein class- io.netty.buffer.ByteBuf
 
- 
forEachByteDescpublic int forEachByteDesc(io.netty.util.ByteProcessor p_130156_) - Specified by:
- forEachByteDescin class- io.netty.buffer.ByteBuf
 
- 
forEachByteDescpublic int forEachByteDesc(int p_130152_, int p_130153_, io.netty.util.ByteProcessor p_130154_) - Specified by:
- forEachByteDescin class- io.netty.buffer.ByteBuf
 
- 
copypublic io.netty.buffer.ByteBuf copy()- Specified by:
- copyin class- io.netty.buffer.ByteBuf
 
- 
copypublic io.netty.buffer.ByteBuf copy(int p_130128_, int p_130129_) - Specified by:
- copyin class- io.netty.buffer.ByteBuf
 
- 
slicepublic io.netty.buffer.ByteBuf slice()- Specified by:
- slicein class- io.netty.buffer.ByteBuf
 
- 
retainedSlicepublic io.netty.buffer.ByteBuf retainedSlice()- Specified by:
- retainedSlicein class- io.netty.buffer.ByteBuf
 
- 
slicepublic io.netty.buffer.ByteBuf slice(int p_130450_, int p_130451_) - Specified by:
- slicein class- io.netty.buffer.ByteBuf
 
- 
retainedSlicepublic io.netty.buffer.ByteBuf retainedSlice(int p_130359_, int p_130360_) - Specified by:
- retainedSlicein class- io.netty.buffer.ByteBuf
 
- 
duplicatepublic io.netty.buffer.ByteBuf duplicate()- Specified by:
- duplicatein class- io.netty.buffer.ByteBuf
 
- 
retainedDuplicatepublic io.netty.buffer.ByteBuf retainedDuplicate()- Specified by:
- retainedDuplicatein class- io.netty.buffer.ByteBuf
 
- 
nioBufferCountpublic int nioBufferCount()- Specified by:
- nioBufferCountin class- io.netty.buffer.ByteBuf
 
- 
nioBuffer- Specified by:
- nioBufferin class- io.netty.buffer.ByteBuf
 
- 
nioBuffer- Specified by:
- nioBufferin class- io.netty.buffer.ByteBuf
 
- 
internalNioBuffer- Specified by:
- internalNioBufferin class- io.netty.buffer.ByteBuf
 
- 
nioBuffers- Specified by:
- nioBuffersin class- io.netty.buffer.ByteBuf
 
- 
nioBuffers- Specified by:
- nioBuffersin class- io.netty.buffer.ByteBuf
 
- 
hasArraypublic boolean hasArray()- Specified by:
- hasArrayin class- io.netty.buffer.ByteBuf
 
- 
arraypublic byte[] array()- Specified by:
- arrayin class- io.netty.buffer.ByteBuf
 
- 
arrayOffsetpublic int arrayOffset()- Specified by:
- arrayOffsetin class- io.netty.buffer.ByteBuf
 
- 
hasMemoryAddresspublic boolean hasMemoryAddress()- Specified by:
- hasMemoryAddressin class- io.netty.buffer.ByteBuf
 
- 
memoryAddresspublic long memoryAddress()- Specified by:
- memoryAddressin class- io.netty.buffer.ByteBuf
 
- 
toString- Specified by:
- toStringin class- io.netty.buffer.ByteBuf
 
- 
toString- Specified by:
- toStringin class- io.netty.buffer.ByteBuf
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein class- io.netty.buffer.ByteBuf
 
- 
equals- Specified by:
- equalsin class- io.netty.buffer.ByteBuf
 
- 
compareTopublic int compareTo(io.netty.buffer.ByteBuf p_130123_) - Specified by:
- compareToin interface- Comparable<io.netty.buffer.ByteBuf>
- Specified by:
- compareToin class- io.netty.buffer.ByteBuf
 
- 
toString- Specified by:
- toStringin class- io.netty.buffer.ByteBuf
 
- 
retain- Specified by:
- retainin interface- io.netty.util.ReferenceCounted
- Specified by:
- retainin class- io.netty.buffer.ByteBuf
 
- 
retain- Specified by:
- retainin interface- io.netty.util.ReferenceCounted
- Specified by:
- retainin class- io.netty.buffer.ByteBuf
 
- 
touch- Specified by:
- touchin interface- io.netty.util.ReferenceCounted
- Specified by:
- touchin class- io.netty.buffer.ByteBuf
 
- 
touch- Specified by:
- touchin interface- io.netty.util.ReferenceCounted
- Specified by:
- touchin class- io.netty.buffer.ByteBuf
 
- 
refCntpublic int refCnt()
- 
releasepublic boolean release()
- 
releasepublic boolean release(int p_130347_) 
- 
wrap
 
-