Package net.minecraft.network
Class FriendlyByteBuf
java.lang.Object
io.netty.buffer.ByteBuf
net.minecraft.network.FriendlyByteBuf
- All Implemented Interfaces:
io.netty.util.ReferenceCounted,Comparable<io.netty.buffer.ByteBuf>,IForgeFriendlyByteBuf
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static intstatic intstatic shortprivate static intprivate static intprivate io.netty.buffer.ByteBuf -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]io.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()io.netty.buffer.ByteBufcapacity(int p_130120_)io.netty.buffer.ByteBufclear()intcompareTo(io.netty.buffer.ByteBuf p_130123_)io.netty.buffer.ByteBufcopy()io.netty.buffer.ByteBufcopy(int p_130128_, int p_130129_)io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufensureWritable(int p_130139_)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_)io.netty.buffer.ByteBufgetBytes(int p_130191_, byte[] p_130192_)io.netty.buffer.ByteBufgetBytes(int p_130194_, byte[] p_130195_, int p_130196_, int p_130197_)io.netty.buffer.ByteBufgetBytes(int p_130163_, io.netty.buffer.ByteBuf p_130164_)io.netty.buffer.ByteBufgetBytes(int p_130166_, io.netty.buffer.ByteBuf p_130167_, int p_130168_)io.netty.buffer.ByteBufgetBytes(int p_130170_, io.netty.buffer.ByteBuf p_130171_, int p_130172_, int p_130173_)io.netty.buffer.ByteBufgetBytes(int p_130175_, OutputStream p_130176_, int p_130177_)io.netty.buffer.ByteBufgetBytes(int p_130179_, ByteBuffer p_130180_)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_)static intgetVarIntSize(int p_130054_)static intgetVarLongSize(long p_178340_)booleanhasArray()inthashCode()booleanintindexOf(int p_130244_, int p_130245_, byte p_130246_)internalNioBuffer(int p_130248_, int p_130249_)booleanisDirect()booleanbooleanisReadable(int p_130254_)booleanbooleanbooleanisWritable(int p_130257_)static <T> IntFunction<T>limitValue(IntFunction<T> p_182696_, int p_182697_)io.netty.buffer.ByteBufio.netty.buffer.ByteBufintintlongnioBuffer(int p_130270_, int p_130271_)intnioBuffers(int p_130275_, int p_130276_)order()io.netty.buffer.ByteBufintbooleanbytereadByte()byte[]byte[]readByteArray(int p_130102_)io.netty.buffer.ByteBufreadBytes(byte[] p_130310_)io.netty.buffer.ByteBufreadBytes(byte[] p_130312_, int p_130313_, int p_130314_)io.netty.buffer.ByteBufreadBytes(int p_130287_)io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf p_130289_)io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf p_130291_, int p_130292_)io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf p_130294_, int p_130295_, int p_130296_)io.netty.buffer.ByteBufreadBytes(OutputStream p_130298_, int p_130299_)io.netty.buffer.ByteBufreadBytes(ByteBuffer p_130301_)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_178372_, Function<FriendlyByteBuf,T> p_178373_)readDate()double<T extends Enum<T>>
Tintio.netty.buffer.ByteBufreaderIndex(int p_130343_)floatintreadInt()it.unimi.dsi.fastutil.ints.IntListintreadItem()<T> List<T>readList(Function<FriendlyByteBuf,T> p_178367_)longreadLong()long[]long[]readLongArray(long[] p_130106_)long[]readLongArray(long[] p_130094_, int p_130095_)long<K, V> Map<K,V>readMap(Function<FriendlyByteBuf,K> p_178369_, Function<FriendlyByteBuf,V> p_178370_)<K, V, M extends Map<K, V>>
MreadMap(IntFunction<M> p_178375_, Function<FriendlyByteBuf,K> p_178376_, Function<FriendlyByteBuf,V> p_178377_)intintreadNbt()readNbt(NbtAccounter p_130082_)<T> Optional<T>readOptional(Function<FriendlyByteBuf,T> p_182699_)io.netty.buffer.ByteBufreadRetainedSlice(int p_130328_)shortshortio.netty.buffer.ByteBufreadSlice(int p_130332_)shortlonglongintintintintreadUtf()readUtf(int p_130137_)readUUID()intint[]int[]readVarIntArray(int p_130117_)long<T> TreadWithCodec(com.mojang.serialization.Codec<T> p_130058_)voidreadWithCount(Consumer<FriendlyByteBuf> p_178365_)intrefCnt()booleanrelease()booleanrelease(int p_130347_)io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufretain()io.netty.buffer.ByteBufretain(int p_130353_)io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufretainedSlice(int p_130359_, int p_130360_)io.netty.buffer.ByteBufsetBoolean(int p_130362_, boolean p_130363_)io.netty.buffer.ByteBufsetByte(int p_130365_, int p_130366_)io.netty.buffer.ByteBufsetBytes(int p_130396_, byte[] p_130397_)io.netty.buffer.ByteBufsetBytes(int p_130399_, byte[] p_130400_, int p_130401_, int p_130402_)io.netty.buffer.ByteBufsetBytes(int p_130368_, io.netty.buffer.ByteBuf p_130369_)io.netty.buffer.ByteBufsetBytes(int p_130371_, io.netty.buffer.ByteBuf p_130372_, int p_130373_)io.netty.buffer.ByteBufsetBytes(int p_130375_, io.netty.buffer.ByteBuf p_130376_, int p_130377_, int p_130378_)intsetBytes(int p_130380_, InputStream p_130381_, int p_130382_)io.netty.buffer.ByteBufsetBytes(int p_130384_, ByteBuffer p_130385_)intsetBytes(int p_130387_, FileChannel p_130388_, long p_130389_, int p_130390_)intsetBytes(int p_130392_, ScatteringByteChannel p_130393_, int p_130394_)io.netty.buffer.ByteBufsetChar(int p_130404_, int p_130405_)intsetCharSequence(int p_130407_, CharSequence p_130408_, Charset p_130409_)io.netty.buffer.ByteBufsetDouble(int p_130411_, double p_130412_)io.netty.buffer.ByteBufsetFloat(int p_130414_, float p_130415_)io.netty.buffer.ByteBufsetIndex(int p_130417_, int p_130418_)io.netty.buffer.ByteBufsetInt(int p_130420_, int p_130421_)io.netty.buffer.ByteBufsetIntLE(int p_130423_, int p_130424_)io.netty.buffer.ByteBufsetLong(int p_130426_, long p_130427_)io.netty.buffer.ByteBufsetLongLE(int p_130429_, long p_130430_)io.netty.buffer.ByteBufsetMedium(int p_130432_, int p_130433_)io.netty.buffer.ByteBufsetMediumLE(int p_130435_, int p_130436_)io.netty.buffer.ByteBufsetShort(int p_130438_, int p_130439_)io.netty.buffer.ByteBufsetShortLE(int p_130441_, int p_130442_)io.netty.buffer.ByteBufsetZero(int p_130444_, int p_130445_)io.netty.buffer.ByteBufskipBytes(int p_130447_)io.netty.buffer.ByteBufslice()io.netty.buffer.ByteBufslice(int p_130450_, int p_130451_)toString()io.netty.buffer.ByteBuftouch()io.netty.buffer.ByteBufio.netty.buffer.ByteBufunwrap()intvoidwriteBitSet(BitSet p_178351_)voidwriteBlockHitResult(BlockHitResult p_130063_)writeBlockPos(BlockPos p_130065_)io.netty.buffer.ByteBufwriteBoolean(boolean p_130468_)io.netty.buffer.ByteBufwriteByte(int p_130470_)writeByteArray(byte[] p_130088_)io.netty.buffer.ByteBufwriteBytes(byte[] p_130493_)io.netty.buffer.ByteBufwriteBytes(byte[] p_130495_, int p_130496_, int p_130497_)io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf p_130472_)io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf p_130474_, int p_130475_)io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf p_130477_, int p_130478_, int p_130479_)intwriteBytes(InputStream p_130481_, int p_130482_)io.netty.buffer.ByteBufwriteBytes(ByteBuffer p_130484_)intwriteBytes(FileChannel p_130486_, long p_130487_, int p_130488_)intwriteBytes(ScatteringByteChannel p_130490_, int p_130491_)io.netty.buffer.ByteBufwriteChar(int p_130499_)intwriteCharSequence(CharSequence p_130501_, Charset p_130502_)writeChunkPos(ChunkPos p_178342_)<T> voidwriteCollection(Collection<T> p_178353_, BiConsumer<FriendlyByteBuf,T> p_178354_)writeComponent(Component p_130084_)io.netty.buffer.ByteBufwriteDouble(double p_130504_)io.netty.buffer.ByteBufwriteFloat(float p_130506_)io.netty.buffer.ByteBufwriteInt(int p_130508_)voidwriteIntIdList(it.unimi.dsi.fastutil.ints.IntList p_178346_)io.netty.buffer.ByteBufwriteIntLE(int p_130510_)writeItemStack(ItemStack p_130056_, boolean limitedTag)Most ItemStack serialization is Server to Client,and doesn't need to know the FULL tag details.io.netty.buffer.ByteBufwriteLong(long p_130512_)writeLongArray(long[] p_130092_)io.netty.buffer.ByteBufwriteLongLE(long p_130514_)<K, V> voidwriteMap(Map<K,V> p_178356_, BiConsumer<FriendlyByteBuf,K> p_178357_, BiConsumer<FriendlyByteBuf,V> p_178358_)io.netty.buffer.ByteBufwriteMedium(int p_130516_)io.netty.buffer.ByteBufwriteMediumLE(int p_130518_)writeNbt(CompoundTag p_130080_)<T> voidwriteOptional(Optional<T> p_182688_, BiConsumer<FriendlyByteBuf,T> p_182689_)writeResourceLocation(ResourceLocation p_130086_)intio.netty.buffer.ByteBufwriterIndex(int p_130527_)writeSectionPos(SectionPos p_178344_)io.netty.buffer.ByteBufwriteShort(int p_130520_)io.netty.buffer.ByteBufwriteShortLE(int p_130522_)writeVarInt(int p_130131_)writeVarIntArray(int[] p_130090_)writeVarLong(long p_130104_)<T> voidwriteWithCodec(com.mojang.serialization.Codec<T> p_130060_, T p_130061_)io.netty.buffer.ByteBufwriteZero(int p_130524_)Methods inherited from class io.netty.buffer.ByteBuf
getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLEMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeFriendlyByteBuf
readFluidStack, readRegistryId, readRegistryIdSafe, readRegistryIdUnsafe, writeFluidStack, writeRegistryId, writeRegistryIdUnsafe, writeRegistryIdUnsafe
-
Field Details
-
MAX_VARINT_SIZE
private static final int MAX_VARINT_SIZE- See Also:
- Constant Field Values
-
MAX_VARLONG_SIZE
private static final int MAX_VARLONG_SIZE- See Also:
- Constant Field Values
-
DEFAULT_NBT_QUOTA
private static final int DEFAULT_NBT_QUOTA- See Also:
- Constant Field Values
-
source
private final io.netty.buffer.ByteBuf source -
MAX_STRING_LENGTH
public static final short MAX_STRING_LENGTH- See Also:
- Constant Field Values
-
MAX_COMPONENT_STRING_LENGTH
public static final int MAX_COMPONENT_STRING_LENGTH- See Also:
- Constant Field Values
-
-
Constructor Details
-
FriendlyByteBuf
public FriendlyByteBuf(io.netty.buffer.ByteBuf p_130051_)
-
-
Method Details
-
getVarIntSize
public static int getVarIntSize(int p_130054_) -
getVarLongSize
public static int getVarLongSize(long p_178340_) -
readWithCodec
public <T> T readWithCodec(com.mojang.serialization.Codec<T> p_130058_) -
writeWithCodec
public <T> void writeWithCodec(com.mojang.serialization.Codec<T> p_130060_, T p_130061_) -
limitValue
-
readCollection
public <T, C extends Collection<T>> C readCollection(IntFunction<C> p_178372_, Function<FriendlyByteBuf,T> p_178373_) -
writeCollection
-
readList
-
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_178375_, Function<FriendlyByteBuf,K> p_178376_, Function<FriendlyByteBuf,V> p_178377_) -
readMap
public <K, V> Map<K,V> readMap(Function<FriendlyByteBuf,K> p_178369_, Function<FriendlyByteBuf,V> p_178370_) -
writeMap
public <K, V> void writeMap(Map<K,V> p_178356_, BiConsumer<FriendlyByteBuf,K> p_178357_, BiConsumer<FriendlyByteBuf,V> p_178358_) -
readWithCount
-
writeOptional
-
readOptional
-
readByteArray
public byte[] readByteArray() -
writeByteArray
-
readByteArray
public byte[] readByteArray(int p_130102_) -
writeVarIntArray
-
readVarIntArray
public int[] readVarIntArray() -
readVarIntArray
public int[] readVarIntArray(int p_130117_) -
writeLongArray
-
readLongArray
public long[] readLongArray() -
readLongArray
public long[] readLongArray(@Nullable long[] p_130106_) -
readLongArray
public long[] readLongArray(@Nullable long[] p_130094_, int p_130095_) -
accessByteBufWithCorrectSize
public byte[] accessByteBufWithCorrectSize() -
readBlockPos
-
writeBlockPos
-
readChunkPos
-
writeChunkPos
-
readSectionPos
-
writeSectionPos
-
readComponent
-
writeComponent
-
readEnum
-
writeEnum
-
readVarInt
public int readVarInt() -
readVarLong
public long readVarLong() -
writeUUID
-
readUUID
-
writeVarInt
-
writeVarLong
-
writeNbt
-
readNbt
-
readAnySizeNbt
-
readNbt
-
writeItem
-
writeItemStack
Most ItemStack serialization is Server to Client,and doesn't need to know the FULL tag details. One exception is items from the creative menu, which must be sent from Client to Server with their full NBT. If you want to send the FULL tag set limitedTag to false -
readItem
-
readUtf
-
readUtf
-
writeUtf
-
writeUtf
-
readResourceLocation
-
writeResourceLocation
-
readDate
-
writeDate
-
readBlockHitResult
-
writeBlockHitResult
-
readBitSet
-
writeBitSet
-
capacity
public int capacity()- Specified by:
capacityin classio.netty.buffer.ByteBuf
-
capacity
public io.netty.buffer.ByteBuf capacity(int p_130120_)- Specified by:
capacityin classio.netty.buffer.ByteBuf
-
maxCapacity
public int maxCapacity()- Specified by:
maxCapacityin classio.netty.buffer.ByteBuf
-
alloc
public io.netty.buffer.ByteBufAllocator alloc()- Specified by:
allocin classio.netty.buffer.ByteBuf
-
order
- Specified by:
orderin classio.netty.buffer.ByteBuf
-
order
- Specified by:
orderin classio.netty.buffer.ByteBuf
-
unwrap
public io.netty.buffer.ByteBuf unwrap()- Specified by:
unwrapin classio.netty.buffer.ByteBuf
-
isDirect
public boolean isDirect()- Specified by:
isDirectin classio.netty.buffer.ByteBuf
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classio.netty.buffer.ByteBuf
-
asReadOnly
public io.netty.buffer.ByteBuf asReadOnly()- Specified by:
asReadOnlyin classio.netty.buffer.ByteBuf
-
readerIndex
public int readerIndex()- Specified by:
readerIndexin classio.netty.buffer.ByteBuf
-
readerIndex
public io.netty.buffer.ByteBuf readerIndex(int p_130343_)- Specified by:
readerIndexin classio.netty.buffer.ByteBuf
-
writerIndex
public int writerIndex()- Specified by:
writerIndexin classio.netty.buffer.ByteBuf
-
writerIndex
public io.netty.buffer.ByteBuf writerIndex(int p_130527_)- Specified by:
writerIndexin classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int p_130417_, int p_130418_)- Specified by:
setIndexin classio.netty.buffer.ByteBuf
-
readableBytes
public int readableBytes()- Specified by:
readableBytesin classio.netty.buffer.ByteBuf
-
writableBytes
public int writableBytes()- Specified by:
writableBytesin classio.netty.buffer.ByteBuf
-
maxWritableBytes
public int maxWritableBytes()- Specified by:
maxWritableBytesin classio.netty.buffer.ByteBuf
-
isReadable
public boolean isReadable()- Specified by:
isReadablein classio.netty.buffer.ByteBuf
-
isReadable
public boolean isReadable(int p_130254_)- Specified by:
isReadablein classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable()- Specified by:
isWritablein classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable(int p_130257_)- Specified by:
isWritablein classio.netty.buffer.ByteBuf
-
clear
public io.netty.buffer.ByteBuf clear()- Specified by:
clearin classio.netty.buffer.ByteBuf
-
markReaderIndex
public io.netty.buffer.ByteBuf markReaderIndex()- Specified by:
markReaderIndexin classio.netty.buffer.ByteBuf
-
resetReaderIndex
public io.netty.buffer.ByteBuf resetReaderIndex()- Specified by:
resetReaderIndexin classio.netty.buffer.ByteBuf
-
markWriterIndex
public io.netty.buffer.ByteBuf markWriterIndex()- Specified by:
markWriterIndexin classio.netty.buffer.ByteBuf
-
resetWriterIndex
public io.netty.buffer.ByteBuf resetWriterIndex()- Specified by:
resetWriterIndexin classio.netty.buffer.ByteBuf
-
discardReadBytes
public io.netty.buffer.ByteBuf discardReadBytes()- Specified by:
discardReadBytesin classio.netty.buffer.ByteBuf
-
discardSomeReadBytes
public io.netty.buffer.ByteBuf discardSomeReadBytes()- Specified by:
discardSomeReadBytesin classio.netty.buffer.ByteBuf
-
ensureWritable
public io.netty.buffer.ByteBuf ensureWritable(int p_130139_)- Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int p_130141_, boolean p_130142_)- Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int p_130159_)- Specified by:
getBooleanin classio.netty.buffer.ByteBuf
-
getByte
public byte getByte(int p_130161_)- Specified by:
getBytein classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int p_130225_)- Specified by:
getUnsignedBytein classio.netty.buffer.ByteBuf
-
getShort
public short getShort(int p_130221_)- Specified by:
getShortin classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int p_130223_)- Specified by:
getShortLEin classio.netty.buffer.ByteBuf
-
getUnsignedShort
public int getUnsignedShort(int p_130235_)- Specified by:
getUnsignedShortin classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int p_130237_)- Specified by:
getUnsignedShortLEin classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int p_130217_)- Specified by:
getMediumin classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int p_130219_)- Specified by:
getMediumLEin classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int p_130231_)- Specified by:
getUnsignedMediumin classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int p_130233_)- Specified by:
getUnsignedMediumLEin classio.netty.buffer.ByteBuf
-
getInt
public int getInt(int p_130209_)- Specified by:
getIntin classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int p_130211_)- Specified by:
getIntLEin classio.netty.buffer.ByteBuf
-
getUnsignedInt
public long getUnsignedInt(int p_130227_)- Specified by:
getUnsignedIntin classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int p_130229_)- Specified by:
getUnsignedIntLEin classio.netty.buffer.ByteBuf
-
getLong
public long getLong(int p_130213_)- Specified by:
getLongin classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int p_130215_)- Specified by:
getLongLEin classio.netty.buffer.ByteBuf
-
getChar
public char getChar(int p_130199_)- Specified by:
getCharin classio.netty.buffer.ByteBuf
-
getFloat
public float getFloat(int p_130207_)- Specified by:
getFloatin classio.netty.buffer.ByteBuf
-
getDouble
public double getDouble(int p_130205_)- Specified by:
getDoublein classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_130163_, io.netty.buffer.ByteBuf p_130164_)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_130166_, io.netty.buffer.ByteBuf p_130167_, int p_130168_)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_130170_, io.netty.buffer.ByteBuf p_130171_, int p_130172_, int p_130173_)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_130191_, byte[] p_130192_)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_130194_, byte[] p_130195_, int p_130196_, int p_130197_)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_130175_, OutputStream p_130176_, int p_130177_) throws IOException- Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getBytes
public int getBytes(int p_130187_, GatheringByteChannel p_130188_, int p_130189_) throws IOException- Specified by:
getBytesin classio.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:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getCharSequence
- Specified by:
getCharSequencein classio.netty.buffer.ByteBuf
-
setBoolean
public io.netty.buffer.ByteBuf setBoolean(int p_130362_, boolean p_130363_)- Specified by:
setBooleanin classio.netty.buffer.ByteBuf
-
setByte
public io.netty.buffer.ByteBuf setByte(int p_130365_, int p_130366_)- Specified by:
setBytein classio.netty.buffer.ByteBuf
-
setShort
public io.netty.buffer.ByteBuf setShort(int p_130438_, int p_130439_)- Specified by:
setShortin classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int p_130441_, int p_130442_)- Specified by:
setShortLEin classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int p_130432_, int p_130433_)- Specified by:
setMediumin classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int p_130435_, int p_130436_)- Specified by:
setMediumLEin classio.netty.buffer.ByteBuf
-
setInt
public io.netty.buffer.ByteBuf setInt(int p_130420_, int p_130421_)- Specified by:
setIntin classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int p_130423_, int p_130424_)- Specified by:
setIntLEin classio.netty.buffer.ByteBuf
-
setLong
public io.netty.buffer.ByteBuf setLong(int p_130426_, long p_130427_)- Specified by:
setLongin classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int p_130429_, long p_130430_)- Specified by:
setLongLEin classio.netty.buffer.ByteBuf
-
setChar
public io.netty.buffer.ByteBuf setChar(int p_130404_, int p_130405_)- Specified by:
setCharin classio.netty.buffer.ByteBuf
-
setFloat
public io.netty.buffer.ByteBuf setFloat(int p_130414_, float p_130415_)- Specified by:
setFloatin classio.netty.buffer.ByteBuf
-
setDouble
public io.netty.buffer.ByteBuf setDouble(int p_130411_, double p_130412_)- Specified by:
setDoublein classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_130368_, io.netty.buffer.ByteBuf p_130369_)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_130371_, io.netty.buffer.ByteBuf p_130372_, int p_130373_)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_130375_, io.netty.buffer.ByteBuf p_130376_, int p_130377_, int p_130378_)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_130396_, byte[] p_130397_)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_130399_, byte[] p_130400_, int p_130401_, int p_130402_)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setBytes
public int setBytes(int p_130392_, ScatteringByteChannel p_130393_, int p_130394_) throws IOException- Specified by:
setBytesin classio.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:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setZero
public io.netty.buffer.ByteBuf setZero(int p_130444_, int p_130445_)- Specified by:
setZeroin classio.netty.buffer.ByteBuf
-
setCharSequence
- Specified by:
setCharSequencein classio.netty.buffer.ByteBuf
-
readBoolean
public boolean readBoolean()- Specified by:
readBooleanin classio.netty.buffer.ByteBuf
-
readByte
public byte readByte()- Specified by:
readBytein classio.netty.buffer.ByteBuf
-
readUnsignedByte
public short readUnsignedByte()- Specified by:
readUnsignedBytein classio.netty.buffer.ByteBuf
-
readShort
public short readShort()- Specified by:
readShortin classio.netty.buffer.ByteBuf
-
readShortLE
public short readShortLE()- Specified by:
readShortLEin classio.netty.buffer.ByteBuf
-
readUnsignedShort
public int readUnsignedShort()- Specified by:
readUnsignedShortin classio.netty.buffer.ByteBuf
-
readUnsignedShortLE
public int readUnsignedShortLE()- Specified by:
readUnsignedShortLEin classio.netty.buffer.ByteBuf
-
readMedium
public int readMedium()- Specified by:
readMediumin classio.netty.buffer.ByteBuf
-
readMediumLE
public int readMediumLE()- Specified by:
readMediumLEin classio.netty.buffer.ByteBuf
-
readUnsignedMedium
public int readUnsignedMedium()- Specified by:
readUnsignedMediumin classio.netty.buffer.ByteBuf
-
readUnsignedMediumLE
public int readUnsignedMediumLE()- Specified by:
readUnsignedMediumLEin classio.netty.buffer.ByteBuf
-
readInt
public int readInt()- Specified by:
readIntin classio.netty.buffer.ByteBuf
-
readIntLE
public int readIntLE()- Specified by:
readIntLEin classio.netty.buffer.ByteBuf
-
readUnsignedInt
public long readUnsignedInt()- Specified by:
readUnsignedIntin classio.netty.buffer.ByteBuf
-
readUnsignedIntLE
public long readUnsignedIntLE()- Specified by:
readUnsignedIntLEin classio.netty.buffer.ByteBuf
-
readLong
public long readLong()- Specified by:
readLongin classio.netty.buffer.ByteBuf
-
readLongLE
public long readLongLE()- Specified by:
readLongLEin classio.netty.buffer.ByteBuf
-
readChar
public char readChar()- Specified by:
readCharin classio.netty.buffer.ByteBuf
-
readFloat
public float readFloat()- Specified by:
readFloatin classio.netty.buffer.ByteBuf
-
readDouble
public double readDouble()- Specified by:
readDoublein classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(int p_130287_)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int p_130332_)- Specified by:
readSlicein classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int p_130328_)- Specified by:
readRetainedSlicein classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_130289_)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_130291_, int p_130292_)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_130294_, int p_130295_, int p_130296_)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] p_130310_)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] p_130312_, int p_130313_, int p_130314_)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
readCharSequence
- Specified by:
readCharSequencein classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
skipBytes
public io.netty.buffer.ByteBuf skipBytes(int p_130447_)- Specified by:
skipBytesin classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean p_130468_)- Specified by:
writeBooleanin classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int p_130470_)- Specified by:
writeBytein classio.netty.buffer.ByteBuf
-
writeShort
public io.netty.buffer.ByteBuf writeShort(int p_130520_)- Specified by:
writeShortin classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int p_130522_)- Specified by:
writeShortLEin classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int p_130516_)- Specified by:
writeMediumin classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int p_130518_)- Specified by:
writeMediumLEin classio.netty.buffer.ByteBuf
-
writeInt
public io.netty.buffer.ByteBuf writeInt(int p_130508_)- Specified by:
writeIntin classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int p_130510_)- Specified by:
writeIntLEin classio.netty.buffer.ByteBuf
-
writeLong
public io.netty.buffer.ByteBuf writeLong(long p_130512_)- Specified by:
writeLongin classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long p_130514_)- Specified by:
writeLongLEin classio.netty.buffer.ByteBuf
-
writeChar
public io.netty.buffer.ByteBuf writeChar(int p_130499_)- Specified by:
writeCharin classio.netty.buffer.ByteBuf
-
writeFloat
public io.netty.buffer.ByteBuf writeFloat(float p_130506_)- Specified by:
writeFloatin classio.netty.buffer.ByteBuf
-
writeDouble
public io.netty.buffer.ByteBuf writeDouble(double p_130504_)- Specified by:
writeDoublein classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_130472_)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_130474_, int p_130475_)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_130477_, int p_130478_, int p_130479_)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] p_130493_)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] p_130495_, int p_130496_, int p_130497_)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeZero
public io.netty.buffer.ByteBuf writeZero(int p_130524_)- Specified by:
writeZeroin classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequencein classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int p_130244_, int p_130245_, byte p_130246_)- Specified by:
indexOfin classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte p_130108_)- Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int p_130110_, byte p_130111_)- Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int p_130113_, int p_130114_, byte p_130115_)- Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor p_130150_)- Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(int p_130146_, int p_130147_, io.netty.util.ByteProcessor p_130148_)- Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor p_130156_)- Specified by:
forEachByteDescin classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(int p_130152_, int p_130153_, io.netty.util.ByteProcessor p_130154_)- Specified by:
forEachByteDescin classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy()- Specified by:
copyin classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy(int p_130128_, int p_130129_)- Specified by:
copyin classio.netty.buffer.ByteBuf
-
slice
public io.netty.buffer.ByteBuf slice()- Specified by:
slicein classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice()- Specified by:
retainedSlicein classio.netty.buffer.ByteBuf
-
slice
public io.netty.buffer.ByteBuf slice(int p_130450_, int p_130451_)- Specified by:
slicein classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int p_130359_, int p_130360_)- Specified by:
retainedSlicein classio.netty.buffer.ByteBuf
-
duplicate
public io.netty.buffer.ByteBuf duplicate()- Specified by:
duplicatein classio.netty.buffer.ByteBuf
-
retainedDuplicate
public io.netty.buffer.ByteBuf retainedDuplicate()- Specified by:
retainedDuplicatein classio.netty.buffer.ByteBuf
-
nioBufferCount
public int nioBufferCount()- Specified by:
nioBufferCountin classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBufferin classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBufferin classio.netty.buffer.ByteBuf
-
internalNioBuffer
- Specified by:
internalNioBufferin classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffersin classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffersin classio.netty.buffer.ByteBuf
-
hasArray
public boolean hasArray()- Specified by:
hasArrayin classio.netty.buffer.ByteBuf
-
array
public byte[] array()- Specified by:
arrayin classio.netty.buffer.ByteBuf
-
arrayOffset
public int arrayOffset()- Specified by:
arrayOffsetin classio.netty.buffer.ByteBuf
-
hasMemoryAddress
public boolean hasMemoryAddress()- Specified by:
hasMemoryAddressin classio.netty.buffer.ByteBuf
-
memoryAddress
public long memoryAddress()- Specified by:
memoryAddressin classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toStringin classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toStringin classio.netty.buffer.ByteBuf
-
hashCode
public int hashCode()- Specified by:
hashCodein classio.netty.buffer.ByteBuf
-
equals
- Specified by:
equalsin classio.netty.buffer.ByteBuf
-
compareTo
public int compareTo(io.netty.buffer.ByteBuf p_130123_)- Specified by:
compareToin interfaceComparable<io.netty.buffer.ByteBuf>- Specified by:
compareToin classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toStringin classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain(int p_130353_)- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Specified by:
retainin classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain()- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Specified by:
retainin classio.netty.buffer.ByteBuf
-
touch
public io.netty.buffer.ByteBuf touch()- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Specified by:
touchin classio.netty.buffer.ByteBuf
-
touch
- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Specified by:
touchin classio.netty.buffer.ByteBuf
-
refCnt
public int refCnt()- Specified by:
refCntin interfaceio.netty.util.ReferenceCounted
-
release
public boolean release()- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int p_130347_)- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-