Package net.minecraft.network
Class PacketBuffer
java.lang.Object
io.netty.buffer.ByteBuf
net.minecraft.network.PacketBuffer
- All Implemented Interfaces:
io.netty.util.ReferenceCounted,Comparable<io.netty.buffer.ByteBuf>,IForgePacketBuffer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBufAllocatoralloc()byte[]array()intio.netty.buffer.ByteBufintbytesBefore(byte p_bytesBefore_1_) intbytesBefore(int p_bytesBefore_1_, byte p_bytesBefore_2_) intbytesBefore(int p_bytesBefore_1_, int p_bytesBefore_2_, byte p_bytesBefore_3_) intcapacity()io.netty.buffer.ByteBufcapacity(int p_capacity_1_) io.netty.buffer.ByteBufclear()intcompareTo(io.netty.buffer.ByteBuf p_compareTo_1_) io.netty.buffer.ByteBufcopy()io.netty.buffer.ByteBufcopy(int p_copy_1_, int p_copy_2_) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufensureWritable(int p_ensureWritable_1_) intensureWritable(int p_ensureWritable_1_, boolean p_ensureWritable_2_) booleanintforEachByte(int p_forEachByte_1_, int p_forEachByte_2_, io.netty.util.ByteProcessor p_forEachByte_3_) intforEachByte(io.netty.util.ByteProcessor p_forEachByte_1_) intforEachByteDesc(int p_forEachByteDesc_1_, int p_forEachByteDesc_2_, io.netty.util.ByteProcessor p_forEachByteDesc_3_) intforEachByteDesc(io.netty.util.ByteProcessor p_forEachByteDesc_1_) booleangetBoolean(int p_getBoolean_1_) bytegetByte(int p_getByte_1_) io.netty.buffer.ByteBufgetBytes(int p_getBytes_1_, byte[] p_getBytes_2_) io.netty.buffer.ByteBufgetBytes(int p_getBytes_1_, byte[] p_getBytes_2_, int p_getBytes_3_, int p_getBytes_4_) io.netty.buffer.ByteBufgetBytes(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_) io.netty.buffer.ByteBufgetBytes(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_, int p_getBytes_3_) io.netty.buffer.ByteBufgetBytes(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_, int p_getBytes_3_, int p_getBytes_4_) io.netty.buffer.ByteBufgetBytes(int p_getBytes_1_, OutputStream p_getBytes_2_, int p_getBytes_3_) io.netty.buffer.ByteBufgetBytes(int p_getBytes_1_, ByteBuffer p_getBytes_2_) intgetBytes(int p_getBytes_1_, FileChannel p_getBytes_2_, long p_getBytes_3_, int p_getBytes_5_) intgetBytes(int p_getBytes_1_, GatheringByteChannel p_getBytes_2_, int p_getBytes_3_) chargetChar(int p_getChar_1_) getCharSequence(int p_getCharSequence_1_, int p_getCharSequence_2_, Charset p_getCharSequence_3_) doublegetDouble(int p_getDouble_1_) floatgetFloat(int p_getFloat_1_) intgetInt(int p_getInt_1_) intgetIntLE(int p_getIntLE_1_) longgetLong(int p_getLong_1_) longgetLongLE(int p_getLongLE_1_) intgetMedium(int p_getMedium_1_) intgetMediumLE(int p_getMediumLE_1_) shortgetShort(int p_getShort_1_) shortgetShortLE(int p_getShortLE_1_) shortgetUnsignedByte(int p_getUnsignedByte_1_) longgetUnsignedInt(int p_getUnsignedInt_1_) longgetUnsignedIntLE(int p_getUnsignedIntLE_1_) intgetUnsignedMedium(int p_getUnsignedMedium_1_) intgetUnsignedMediumLE(int p_getUnsignedMediumLE_1_) intgetUnsignedShort(int p_getUnsignedShort_1_) intgetUnsignedShortLE(int p_getUnsignedShortLE_1_) static intgetVarIntSize(int p_150790_0_) booleanhasArray()inthashCode()booleanintindexOf(int p_indexOf_1_, int p_indexOf_2_, byte p_indexOf_3_) internalNioBuffer(int p_internalNioBuffer_1_, int p_internalNioBuffer_2_) booleanisDirect()booleanbooleanisReadable(int p_isReadable_1_) booleanbooleanbooleanisWritable(int p_isWritable_1_) io.netty.buffer.ByteBufio.netty.buffer.ByteBufintintlongnioBuffer(int p_nioBuffer_1_, int p_nioBuffer_2_) intnioBuffers(int p_nioBuffers_1_, int p_nioBuffers_2_) order()io.netty.buffer.ByteBufintbooleanbytereadByte()byte[]byte[]readByteArray(int p_189425_1_) io.netty.buffer.ByteBufreadBytes(byte[] p_readBytes_1_) io.netty.buffer.ByteBufreadBytes(byte[] p_readBytes_1_, int p_readBytes_2_, int p_readBytes_3_) io.netty.buffer.ByteBufreadBytes(int p_readBytes_1_) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf p_readBytes_1_) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf p_readBytes_1_, int p_readBytes_2_) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf p_readBytes_1_, int p_readBytes_2_, int p_readBytes_3_) io.netty.buffer.ByteBufreadBytes(OutputStream p_readBytes_1_, int p_readBytes_2_) io.netty.buffer.ByteBufreadBytes(ByteBuffer p_readBytes_1_) intreadBytes(FileChannel p_readBytes_1_, long p_readBytes_2_, int p_readBytes_4_) intreadBytes(GatheringByteChannel p_readBytes_1_, int p_readBytes_2_) charreadChar()readCharSequence(int p_readCharSequence_1_, Charset p_readCharSequence_2_) readDate()double<T extends Enum<T>>
Tintio.netty.buffer.ByteBufreaderIndex(int p_readerIndex_1_) floatintreadInt()intreadItem()longreadLong()long[]readLongArray(long[] p_186873_1_) long[]readLongArray(long[] p_189423_1_, int p_189423_2_) longintintreadNbt()readNbt(NBTSizeTracker p_244272_1_) io.netty.buffer.ByteBufreadRetainedSlice(int p_readRetainedSlice_1_) shortshortio.netty.buffer.ByteBufreadSlice(int p_readSlice_1_) shortlonglongintintintintreadUtf()readUtf(int p_150789_1_) readUUID()intint[]int[]readVarIntArray(int p_189424_1_) long<T> TreadWithCodec(com.mojang.serialization.Codec<T> p_240628_1_) intrefCnt()booleanrelease()booleanrelease(int p_release_1_) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufretain()io.netty.buffer.ByteBufretain(int p_retain_1_) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufretainedSlice(int p_retainedSlice_1_, int p_retainedSlice_2_) io.netty.buffer.ByteBufsetBoolean(int p_setBoolean_1_, boolean p_setBoolean_2_) io.netty.buffer.ByteBufsetByte(int p_setByte_1_, int p_setByte_2_) io.netty.buffer.ByteBufsetBytes(int p_setBytes_1_, byte[] p_setBytes_2_) io.netty.buffer.ByteBufsetBytes(int p_setBytes_1_, byte[] p_setBytes_2_, int p_setBytes_3_, int p_setBytes_4_) io.netty.buffer.ByteBufsetBytes(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_) io.netty.buffer.ByteBufsetBytes(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_, int p_setBytes_3_) io.netty.buffer.ByteBufsetBytes(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_, int p_setBytes_3_, int p_setBytes_4_) intsetBytes(int p_setBytes_1_, InputStream p_setBytes_2_, int p_setBytes_3_) io.netty.buffer.ByteBufsetBytes(int p_setBytes_1_, ByteBuffer p_setBytes_2_) intsetBytes(int p_setBytes_1_, FileChannel p_setBytes_2_, long p_setBytes_3_, int p_setBytes_5_) intsetBytes(int p_setBytes_1_, ScatteringByteChannel p_setBytes_2_, int p_setBytes_3_) io.netty.buffer.ByteBufsetChar(int p_setChar_1_, int p_setChar_2_) intsetCharSequence(int p_setCharSequence_1_, CharSequence p_setCharSequence_2_, Charset p_setCharSequence_3_) io.netty.buffer.ByteBufsetDouble(int p_setDouble_1_, double p_setDouble_2_) io.netty.buffer.ByteBufsetFloat(int p_setFloat_1_, float p_setFloat_2_) io.netty.buffer.ByteBufsetIndex(int p_setIndex_1_, int p_setIndex_2_) io.netty.buffer.ByteBufsetInt(int p_setInt_1_, int p_setInt_2_) io.netty.buffer.ByteBufsetIntLE(int p_setIntLE_1_, int p_setIntLE_2_) io.netty.buffer.ByteBufsetLong(int p_setLong_1_, long p_setLong_2_) io.netty.buffer.ByteBufsetLongLE(int p_setLongLE_1_, long p_setLongLE_2_) io.netty.buffer.ByteBufsetMedium(int p_setMedium_1_, int p_setMedium_2_) io.netty.buffer.ByteBufsetMediumLE(int p_setMediumLE_1_, int p_setMediumLE_2_) io.netty.buffer.ByteBufsetShort(int p_setShort_1_, int p_setShort_2_) io.netty.buffer.ByteBufsetShortLE(int p_setShortLE_1_, int p_setShortLE_2_) io.netty.buffer.ByteBufsetZero(int p_setZero_1_, int p_setZero_2_) io.netty.buffer.ByteBufskipBytes(int p_skipBytes_1_) io.netty.buffer.ByteBufslice()io.netty.buffer.ByteBufslice(int p_slice_1_, int p_slice_2_) toString()io.netty.buffer.ByteBuftouch()io.netty.buffer.ByteBufio.netty.buffer.ByteBufunwrap()intvoidwriteBlockHitResult(BlockRayTraceResult p_218668_1_) writeBlockPos(BlockPos p_179255_1_) io.netty.buffer.ByteBufwriteBoolean(boolean p_writeBoolean_1_) io.netty.buffer.ByteBufwriteByte(int p_writeByte_1_) writeByteArray(byte[] p_179250_1_) io.netty.buffer.ByteBufwriteBytes(byte[] p_writeBytes_1_) io.netty.buffer.ByteBufwriteBytes(byte[] p_writeBytes_1_, int p_writeBytes_2_, int p_writeBytes_3_) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf p_writeBytes_1_) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf p_writeBytes_1_, int p_writeBytes_2_) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf p_writeBytes_1_, int p_writeBytes_2_, int p_writeBytes_3_) intwriteBytes(InputStream p_writeBytes_1_, int p_writeBytes_2_) io.netty.buffer.ByteBufwriteBytes(ByteBuffer p_writeBytes_1_) intwriteBytes(FileChannel p_writeBytes_1_, long p_writeBytes_2_, int p_writeBytes_4_) intwriteBytes(ScatteringByteChannel p_writeBytes_1_, int p_writeBytes_2_) io.netty.buffer.ByteBufwriteChar(int p_writeChar_1_) intwriteCharSequence(CharSequence p_writeCharSequence_1_, Charset p_writeCharSequence_2_) writeComponent(ITextComponent p_179256_1_) io.netty.buffer.ByteBufwriteDouble(double p_writeDouble_1_) io.netty.buffer.ByteBufwriteFloat(float p_writeFloat_1_) io.netty.buffer.ByteBufwriteInt(int p_writeInt_1_) io.netty.buffer.ByteBufwriteIntLE(int p_writeIntLE_1_) writeItemStack(ItemStack p_150788_1_, 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_writeLong_1_) writeLongArray(long[] p_186865_1_) io.netty.buffer.ByteBufwriteLongLE(long p_writeLongLE_1_) io.netty.buffer.ByteBufwriteMedium(int p_writeMedium_1_) io.netty.buffer.ByteBufwriteMediumLE(int p_writeMediumLE_1_) writeNbt(CompoundNBT p_150786_1_) writeResourceLocation(ResourceLocation p_192572_1_) intio.netty.buffer.ByteBufwriterIndex(int p_writerIndex_1_) io.netty.buffer.ByteBufwriteShort(int p_writeShort_1_) io.netty.buffer.ByteBufwriteShortLE(int p_writeShortLE_1_) writeVarInt(int p_150787_1_) writeVarIntArray(int[] p_186875_1_) writeVarLong(long p_179254_1_) <T> voidwriteWithCodec(com.mojang.serialization.Codec<T> p_240629_1_, T p_240629_2_) io.netty.buffer.ByteBufwriteZero(int p_writeZero_1_) 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.IForgePacketBuffer
getBuffer, readFluidStack, readRegistryId, readRegistryIdSafe, readRegistryIdUnsafe, writeFluidStack, writeRegistryId, writeRegistryIdUnsafe, writeRegistryIdUnsafe
-
Field Details
-
source
private final io.netty.buffer.ByteBuf source
-
-
Constructor Details
-
PacketBuffer
public PacketBuffer(io.netty.buffer.ByteBuf p_i45154_1_)
-
-
Method Details
-
getVarIntSize
public static int getVarIntSize(int p_150790_0_) -
readWithCodec
- Throws:
IOException
-
writeWithCodec
public <T> void writeWithCodec(com.mojang.serialization.Codec<T> p_240629_1_, T p_240629_2_) throws IOException - Throws:
IOException
-
writeByteArray
-
readByteArray
public byte[] readByteArray() -
readByteArray
public byte[] readByteArray(int p_189425_1_) -
writeVarIntArray
-
readVarIntArray
public int[] readVarIntArray() -
readVarIntArray
public int[] readVarIntArray(int p_189424_1_) -
writeLongArray
-
readLongArray
public long[] readLongArray(@Nullable long[] p_186873_1_) -
readLongArray
public long[] readLongArray(@Nullable long[] p_189423_1_, int p_189423_2_) -
readBlockPos
-
writeBlockPos
-
readSectionPos
-
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
-
capacity
public int capacity()- Specified by:
capacityin classio.netty.buffer.ByteBuf
-
capacity
public io.netty.buffer.ByteBuf capacity(int p_capacity_1_) - 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_readerIndex_1_) - 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_writerIndex_1_) - Specified by:
writerIndexin classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int p_setIndex_1_, int p_setIndex_2_) - 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_isReadable_1_) - Specified by:
isReadablein classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable()- Specified by:
isWritablein classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable(int p_isWritable_1_) - 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_ensureWritable_1_) - Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int p_ensureWritable_1_, boolean p_ensureWritable_2_) - Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int p_getBoolean_1_) - Specified by:
getBooleanin classio.netty.buffer.ByteBuf
-
getByte
public byte getByte(int p_getByte_1_) - Specified by:
getBytein classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int p_getUnsignedByte_1_) - Specified by:
getUnsignedBytein classio.netty.buffer.ByteBuf
-
getShort
public short getShort(int p_getShort_1_) - Specified by:
getShortin classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int p_getShortLE_1_) - Specified by:
getShortLEin classio.netty.buffer.ByteBuf
-
getUnsignedShort
public int getUnsignedShort(int p_getUnsignedShort_1_) - Specified by:
getUnsignedShortin classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int p_getUnsignedShortLE_1_) - Specified by:
getUnsignedShortLEin classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int p_getMedium_1_) - Specified by:
getMediumin classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int p_getMediumLE_1_) - Specified by:
getMediumLEin classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int p_getUnsignedMedium_1_) - Specified by:
getUnsignedMediumin classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int p_getUnsignedMediumLE_1_) - Specified by:
getUnsignedMediumLEin classio.netty.buffer.ByteBuf
-
getInt
public int getInt(int p_getInt_1_) - Specified by:
getIntin classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int p_getIntLE_1_) - Specified by:
getIntLEin classio.netty.buffer.ByteBuf
-
getUnsignedInt
public long getUnsignedInt(int p_getUnsignedInt_1_) - Specified by:
getUnsignedIntin classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int p_getUnsignedIntLE_1_) - Specified by:
getUnsignedIntLEin classio.netty.buffer.ByteBuf
-
getLong
public long getLong(int p_getLong_1_) - Specified by:
getLongin classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int p_getLongLE_1_) - Specified by:
getLongLEin classio.netty.buffer.ByteBuf
-
getChar
public char getChar(int p_getChar_1_) - Specified by:
getCharin classio.netty.buffer.ByteBuf
-
getFloat
public float getFloat(int p_getFloat_1_) - Specified by:
getFloatin classio.netty.buffer.ByteBuf
-
getDouble
public double getDouble(int p_getDouble_1_) - Specified by:
getDoublein classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_, int p_getBytes_3_) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_, int p_getBytes_3_, int p_getBytes_4_) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, byte[] p_getBytes_2_) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, byte[] p_getBytes_2_, int p_getBytes_3_, int p_getBytes_4_) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, OutputStream p_getBytes_2_, int p_getBytes_3_) throws IOException - Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getBytes
public int getBytes(int p_getBytes_1_, GatheringByteChannel p_getBytes_2_, int p_getBytes_3_) throws IOException - Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getBytes
public int getBytes(int p_getBytes_1_, FileChannel p_getBytes_2_, long p_getBytes_3_, int p_getBytes_5_) throws IOException - Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getCharSequence
public CharSequence getCharSequence(int p_getCharSequence_1_, int p_getCharSequence_2_, Charset p_getCharSequence_3_) - Specified by:
getCharSequencein classio.netty.buffer.ByteBuf
-
setBoolean
public io.netty.buffer.ByteBuf setBoolean(int p_setBoolean_1_, boolean p_setBoolean_2_) - Specified by:
setBooleanin classio.netty.buffer.ByteBuf
-
setByte
public io.netty.buffer.ByteBuf setByte(int p_setByte_1_, int p_setByte_2_) - Specified by:
setBytein classio.netty.buffer.ByteBuf
-
setShort
public io.netty.buffer.ByteBuf setShort(int p_setShort_1_, int p_setShort_2_) - Specified by:
setShortin classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int p_setShortLE_1_, int p_setShortLE_2_) - Specified by:
setShortLEin classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int p_setMedium_1_, int p_setMedium_2_) - Specified by:
setMediumin classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int p_setMediumLE_1_, int p_setMediumLE_2_) - Specified by:
setMediumLEin classio.netty.buffer.ByteBuf
-
setInt
public io.netty.buffer.ByteBuf setInt(int p_setInt_1_, int p_setInt_2_) - Specified by:
setIntin classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int p_setIntLE_1_, int p_setIntLE_2_) - Specified by:
setIntLEin classio.netty.buffer.ByteBuf
-
setLong
public io.netty.buffer.ByteBuf setLong(int p_setLong_1_, long p_setLong_2_) - Specified by:
setLongin classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int p_setLongLE_1_, long p_setLongLE_2_) - Specified by:
setLongLEin classio.netty.buffer.ByteBuf
-
setChar
public io.netty.buffer.ByteBuf setChar(int p_setChar_1_, int p_setChar_2_) - Specified by:
setCharin classio.netty.buffer.ByteBuf
-
setFloat
public io.netty.buffer.ByteBuf setFloat(int p_setFloat_1_, float p_setFloat_2_) - Specified by:
setFloatin classio.netty.buffer.ByteBuf
-
setDouble
public io.netty.buffer.ByteBuf setDouble(int p_setDouble_1_, double p_setDouble_2_) - Specified by:
setDoublein classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_, int p_setBytes_3_) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_, int p_setBytes_3_, int p_setBytes_4_) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_setBytes_1_, byte[] p_setBytes_2_) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_setBytes_1_, byte[] p_setBytes_2_, int p_setBytes_3_, int p_setBytes_4_) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public int setBytes(int p_setBytes_1_, InputStream p_setBytes_2_, int p_setBytes_3_) throws IOException - Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setBytes
public int setBytes(int p_setBytes_1_, ScatteringByteChannel p_setBytes_2_, int p_setBytes_3_) throws IOException - Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setBytes
public int setBytes(int p_setBytes_1_, FileChannel p_setBytes_2_, long p_setBytes_3_, int p_setBytes_5_) throws IOException - Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setZero
public io.netty.buffer.ByteBuf setZero(int p_setZero_1_, int p_setZero_2_) - Specified by:
setZeroin classio.netty.buffer.ByteBuf
-
setCharSequence
public int setCharSequence(int p_setCharSequence_1_, CharSequence p_setCharSequence_2_, Charset p_setCharSequence_3_) - 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_readBytes_1_) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int p_readSlice_1_) - Specified by:
readSlicein classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int p_readRetainedSlice_1_) - Specified by:
readRetainedSlicein classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_readBytes_1_) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_readBytes_1_, int p_readBytes_2_) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_readBytes_1_, int p_readBytes_2_, int p_readBytes_3_) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] p_readBytes_1_) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] p_readBytes_1_, int p_readBytes_2_, int p_readBytes_3_) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(OutputStream p_readBytes_1_, int p_readBytes_2_) throws IOException - 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
public int readBytes(FileChannel p_readBytes_1_, long p_readBytes_2_, int p_readBytes_4_) throws IOException - Specified by:
readBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
skipBytes
public io.netty.buffer.ByteBuf skipBytes(int p_skipBytes_1_) - Specified by:
skipBytesin classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean p_writeBoolean_1_) - Specified by:
writeBooleanin classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int p_writeByte_1_) - Specified by:
writeBytein classio.netty.buffer.ByteBuf
-
writeShort
public io.netty.buffer.ByteBuf writeShort(int p_writeShort_1_) - Specified by:
writeShortin classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int p_writeShortLE_1_) - Specified by:
writeShortLEin classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int p_writeMedium_1_) - Specified by:
writeMediumin classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int p_writeMediumLE_1_) - Specified by:
writeMediumLEin classio.netty.buffer.ByteBuf
-
writeInt
public io.netty.buffer.ByteBuf writeInt(int p_writeInt_1_) - Specified by:
writeIntin classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int p_writeIntLE_1_) - Specified by:
writeIntLEin classio.netty.buffer.ByteBuf
-
writeLong
public io.netty.buffer.ByteBuf writeLong(long p_writeLong_1_) - Specified by:
writeLongin classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long p_writeLongLE_1_) - Specified by:
writeLongLEin classio.netty.buffer.ByteBuf
-
writeChar
public io.netty.buffer.ByteBuf writeChar(int p_writeChar_1_) - Specified by:
writeCharin classio.netty.buffer.ByteBuf
-
writeFloat
public io.netty.buffer.ByteBuf writeFloat(float p_writeFloat_1_) - Specified by:
writeFloatin classio.netty.buffer.ByteBuf
-
writeDouble
public io.netty.buffer.ByteBuf writeDouble(double p_writeDouble_1_) - Specified by:
writeDoublein classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_writeBytes_1_) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_writeBytes_1_, int p_writeBytes_2_) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_writeBytes_1_, int p_writeBytes_2_, int p_writeBytes_3_) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] p_writeBytes_1_) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] p_writeBytes_1_, int p_writeBytes_2_, int p_writeBytes_3_) - 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
public int writeBytes(ScatteringByteChannel p_writeBytes_1_, int p_writeBytes_2_) throws IOException - Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeBytes
public int writeBytes(FileChannel p_writeBytes_1_, long p_writeBytes_2_, int p_writeBytes_4_) throws IOException - Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeZero
public io.netty.buffer.ByteBuf writeZero(int p_writeZero_1_) - Specified by:
writeZeroin classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequencein classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int p_indexOf_1_, int p_indexOf_2_, byte p_indexOf_3_) - Specified by:
indexOfin classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte p_bytesBefore_1_) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int p_bytesBefore_1_, byte p_bytesBefore_2_) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int p_bytesBefore_1_, int p_bytesBefore_2_, byte p_bytesBefore_3_) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor p_forEachByte_1_) - Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(int p_forEachByte_1_, int p_forEachByte_2_, io.netty.util.ByteProcessor p_forEachByte_3_) - Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor p_forEachByteDesc_1_) - Specified by:
forEachByteDescin classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(int p_forEachByteDesc_1_, int p_forEachByteDesc_2_, io.netty.util.ByteProcessor p_forEachByteDesc_3_) - 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_copy_1_, int p_copy_2_) - 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_slice_1_, int p_slice_2_) - Specified by:
slicein classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int p_retainedSlice_1_, int p_retainedSlice_2_) - 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_compareTo_1_) - 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_retain_1_) - 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_release_1_) - Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-