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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBufAllocator
alloc()
byte[]
array()
int
io.netty.buffer.ByteBuf
int
bytesBefore
(byte p_bytesBefore_1_) int
bytesBefore
(int p_bytesBefore_1_, byte p_bytesBefore_2_) int
bytesBefore
(int p_bytesBefore_1_, int p_bytesBefore_2_, byte p_bytesBefore_3_) int
capacity()
io.netty.buffer.ByteBuf
capacity
(int p_capacity_1_) io.netty.buffer.ByteBuf
clear()
int
compareTo
(io.netty.buffer.ByteBuf p_compareTo_1_) io.netty.buffer.ByteBuf
copy()
io.netty.buffer.ByteBuf
copy
(int p_copy_1_, int p_copy_2_) io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
ensureWritable
(int p_ensureWritable_1_) int
ensureWritable
(int p_ensureWritable_1_, boolean p_ensureWritable_2_) boolean
int
forEachByte
(int p_forEachByte_1_, int p_forEachByte_2_, io.netty.util.ByteProcessor p_forEachByte_3_) int
forEachByte
(io.netty.util.ByteProcessor p_forEachByte_1_) int
forEachByteDesc
(int p_forEachByteDesc_1_, int p_forEachByteDesc_2_, io.netty.util.ByteProcessor p_forEachByteDesc_3_) int
forEachByteDesc
(io.netty.util.ByteProcessor p_forEachByteDesc_1_) boolean
getBoolean
(int p_getBoolean_1_) byte
getByte
(int p_getByte_1_) io.netty.buffer.ByteBuf
getBytes
(int p_getBytes_1_, byte[] p_getBytes_2_) io.netty.buffer.ByteBuf
getBytes
(int p_getBytes_1_, byte[] p_getBytes_2_, int p_getBytes_3_, int p_getBytes_4_) io.netty.buffer.ByteBuf
getBytes
(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_) io.netty.buffer.ByteBuf
getBytes
(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_, int p_getBytes_3_) io.netty.buffer.ByteBuf
getBytes
(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_, int p_getBytes_3_, int p_getBytes_4_) io.netty.buffer.ByteBuf
getBytes
(int p_getBytes_1_, OutputStream p_getBytes_2_, int p_getBytes_3_) io.netty.buffer.ByteBuf
getBytes
(int p_getBytes_1_, ByteBuffer p_getBytes_2_) int
getBytes
(int p_getBytes_1_, FileChannel p_getBytes_2_, long p_getBytes_3_, int p_getBytes_5_) int
getBytes
(int p_getBytes_1_, GatheringByteChannel p_getBytes_2_, int p_getBytes_3_) char
getChar
(int p_getChar_1_) getCharSequence
(int p_getCharSequence_1_, int p_getCharSequence_2_, Charset p_getCharSequence_3_) double
getDouble
(int p_getDouble_1_) float
getFloat
(int p_getFloat_1_) int
getInt
(int p_getInt_1_) int
getIntLE
(int p_getIntLE_1_) long
getLong
(int p_getLong_1_) long
getLongLE
(int p_getLongLE_1_) int
getMedium
(int p_getMedium_1_) int
getMediumLE
(int p_getMediumLE_1_) short
getShort
(int p_getShort_1_) short
getShortLE
(int p_getShortLE_1_) short
getUnsignedByte
(int p_getUnsignedByte_1_) long
getUnsignedInt
(int p_getUnsignedInt_1_) long
getUnsignedIntLE
(int p_getUnsignedIntLE_1_) int
getUnsignedMedium
(int p_getUnsignedMedium_1_) int
getUnsignedMediumLE
(int p_getUnsignedMediumLE_1_) int
getUnsignedShort
(int p_getUnsignedShort_1_) int
getUnsignedShortLE
(int p_getUnsignedShortLE_1_) static int
getVarIntSize
(int p_150790_0_) boolean
hasArray()
int
hashCode()
boolean
int
indexOf
(int p_indexOf_1_, int p_indexOf_2_, byte p_indexOf_3_) internalNioBuffer
(int p_internalNioBuffer_1_, int p_internalNioBuffer_2_) boolean
isDirect()
boolean
boolean
isReadable
(int p_isReadable_1_) boolean
boolean
boolean
isWritable
(int p_isWritable_1_) io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
int
int
long
nioBuffer
(int p_nioBuffer_1_, int p_nioBuffer_2_) int
nioBuffers
(int p_nioBuffers_1_, int p_nioBuffers_2_) order()
io.netty.buffer.ByteBuf
int
boolean
byte
readByte()
byte[]
byte[]
readByteArray
(int p_189425_1_) io.netty.buffer.ByteBuf
readBytes
(byte[] p_readBytes_1_) io.netty.buffer.ByteBuf
readBytes
(byte[] p_readBytes_1_, int p_readBytes_2_, int p_readBytes_3_) io.netty.buffer.ByteBuf
readBytes
(int p_readBytes_1_) io.netty.buffer.ByteBuf
readBytes
(io.netty.buffer.ByteBuf p_readBytes_1_) io.netty.buffer.ByteBuf
readBytes
(io.netty.buffer.ByteBuf p_readBytes_1_, int p_readBytes_2_) io.netty.buffer.ByteBuf
readBytes
(io.netty.buffer.ByteBuf p_readBytes_1_, int p_readBytes_2_, int p_readBytes_3_) io.netty.buffer.ByteBuf
readBytes
(OutputStream p_readBytes_1_, int p_readBytes_2_) io.netty.buffer.ByteBuf
readBytes
(ByteBuffer p_readBytes_1_) int
readBytes
(FileChannel p_readBytes_1_, long p_readBytes_2_, int p_readBytes_4_) int
readBytes
(GatheringByteChannel p_readBytes_1_, int p_readBytes_2_) char
readChar()
readCharSequence
(int p_readCharSequence_1_, Charset p_readCharSequence_2_) readDate()
double
<T extends Enum<T>>
Tint
io.netty.buffer.ByteBuf
readerIndex
(int p_readerIndex_1_) float
int
readInt()
int
readItem()
long
readLong()
long[]
readLongArray
(long[] p_186873_1_) long[]
readLongArray
(long[] p_189423_1_, int p_189423_2_) long
int
int
readNbt()
readNbt
(NBTSizeTracker p_244272_1_) io.netty.buffer.ByteBuf
readRetainedSlice
(int p_readRetainedSlice_1_) short
short
io.netty.buffer.ByteBuf
readSlice
(int p_readSlice_1_) short
long
long
int
int
int
int
readUtf()
readUtf
(int p_150789_1_) readUUID()
int
int[]
int[]
readVarIntArray
(int p_189424_1_) long
<T> T
readWithCodec
(com.mojang.serialization.Codec<T> p_240628_1_) int
refCnt()
boolean
release()
boolean
release
(int p_release_1_) io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
retain()
io.netty.buffer.ByteBuf
retain
(int p_retain_1_) io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
retainedSlice
(int p_retainedSlice_1_, int p_retainedSlice_2_) io.netty.buffer.ByteBuf
setBoolean
(int p_setBoolean_1_, boolean p_setBoolean_2_) io.netty.buffer.ByteBuf
setByte
(int p_setByte_1_, int p_setByte_2_) io.netty.buffer.ByteBuf
setBytes
(int p_setBytes_1_, byte[] p_setBytes_2_) io.netty.buffer.ByteBuf
setBytes
(int p_setBytes_1_, byte[] p_setBytes_2_, int p_setBytes_3_, int p_setBytes_4_) io.netty.buffer.ByteBuf
setBytes
(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_) io.netty.buffer.ByteBuf
setBytes
(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_, int p_setBytes_3_) io.netty.buffer.ByteBuf
setBytes
(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_, int p_setBytes_3_, int p_setBytes_4_) int
setBytes
(int p_setBytes_1_, InputStream p_setBytes_2_, int p_setBytes_3_) io.netty.buffer.ByteBuf
setBytes
(int p_setBytes_1_, ByteBuffer p_setBytes_2_) int
setBytes
(int p_setBytes_1_, FileChannel p_setBytes_2_, long p_setBytes_3_, int p_setBytes_5_) int
setBytes
(int p_setBytes_1_, ScatteringByteChannel p_setBytes_2_, int p_setBytes_3_) io.netty.buffer.ByteBuf
setChar
(int p_setChar_1_, int p_setChar_2_) int
setCharSequence
(int p_setCharSequence_1_, CharSequence p_setCharSequence_2_, Charset p_setCharSequence_3_) io.netty.buffer.ByteBuf
setDouble
(int p_setDouble_1_, double p_setDouble_2_) io.netty.buffer.ByteBuf
setFloat
(int p_setFloat_1_, float p_setFloat_2_) io.netty.buffer.ByteBuf
setIndex
(int p_setIndex_1_, int p_setIndex_2_) io.netty.buffer.ByteBuf
setInt
(int p_setInt_1_, int p_setInt_2_) io.netty.buffer.ByteBuf
setIntLE
(int p_setIntLE_1_, int p_setIntLE_2_) io.netty.buffer.ByteBuf
setLong
(int p_setLong_1_, long p_setLong_2_) io.netty.buffer.ByteBuf
setLongLE
(int p_setLongLE_1_, long p_setLongLE_2_) io.netty.buffer.ByteBuf
setMedium
(int p_setMedium_1_, int p_setMedium_2_) io.netty.buffer.ByteBuf
setMediumLE
(int p_setMediumLE_1_, int p_setMediumLE_2_) io.netty.buffer.ByteBuf
setShort
(int p_setShort_1_, int p_setShort_2_) io.netty.buffer.ByteBuf
setShortLE
(int p_setShortLE_1_, int p_setShortLE_2_) io.netty.buffer.ByteBuf
setZero
(int p_setZero_1_, int p_setZero_2_) io.netty.buffer.ByteBuf
skipBytes
(int p_skipBytes_1_) io.netty.buffer.ByteBuf
slice()
io.netty.buffer.ByteBuf
slice
(int p_slice_1_, int p_slice_2_) toString()
io.netty.buffer.ByteBuf
touch()
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
unwrap()
int
void
writeBlockHitResult
(BlockRayTraceResult p_218668_1_) writeBlockPos
(BlockPos p_179255_1_) io.netty.buffer.ByteBuf
writeBoolean
(boolean p_writeBoolean_1_) io.netty.buffer.ByteBuf
writeByte
(int p_writeByte_1_) writeByteArray
(byte[] p_179250_1_) io.netty.buffer.ByteBuf
writeBytes
(byte[] p_writeBytes_1_) io.netty.buffer.ByteBuf
writeBytes
(byte[] p_writeBytes_1_, int p_writeBytes_2_, int p_writeBytes_3_) io.netty.buffer.ByteBuf
writeBytes
(io.netty.buffer.ByteBuf p_writeBytes_1_) io.netty.buffer.ByteBuf
writeBytes
(io.netty.buffer.ByteBuf p_writeBytes_1_, int p_writeBytes_2_) io.netty.buffer.ByteBuf
writeBytes
(io.netty.buffer.ByteBuf p_writeBytes_1_, int p_writeBytes_2_, int p_writeBytes_3_) int
writeBytes
(InputStream p_writeBytes_1_, int p_writeBytes_2_) io.netty.buffer.ByteBuf
writeBytes
(ByteBuffer p_writeBytes_1_) int
writeBytes
(FileChannel p_writeBytes_1_, long p_writeBytes_2_, int p_writeBytes_4_) int
writeBytes
(ScatteringByteChannel p_writeBytes_1_, int p_writeBytes_2_) io.netty.buffer.ByteBuf
writeChar
(int p_writeChar_1_) int
writeCharSequence
(CharSequence p_writeCharSequence_1_, Charset p_writeCharSequence_2_) writeComponent
(ITextComponent p_179256_1_) io.netty.buffer.ByteBuf
writeDouble
(double p_writeDouble_1_) io.netty.buffer.ByteBuf
writeFloat
(float p_writeFloat_1_) io.netty.buffer.ByteBuf
writeInt
(int p_writeInt_1_) io.netty.buffer.ByteBuf
writeIntLE
(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.ByteBuf
writeLong
(long p_writeLong_1_) writeLongArray
(long[] p_186865_1_) io.netty.buffer.ByteBuf
writeLongLE
(long p_writeLongLE_1_) io.netty.buffer.ByteBuf
writeMedium
(int p_writeMedium_1_) io.netty.buffer.ByteBuf
writeMediumLE
(int p_writeMediumLE_1_) writeNbt
(CompoundNBT p_150786_1_) writeResourceLocation
(ResourceLocation p_192572_1_) int
io.netty.buffer.ByteBuf
writerIndex
(int p_writerIndex_1_) io.netty.buffer.ByteBuf
writeShort
(int p_writeShort_1_) io.netty.buffer.ByteBuf
writeShortLE
(int p_writeShortLE_1_) writeVarInt
(int p_150787_1_) writeVarIntArray
(int[] p_186875_1_) writeVarLong
(long p_179254_1_) <T> void
writeWithCodec
(com.mojang.serialization.Codec<T> p_240629_1_, T p_240629_2_) io.netty.buffer.ByteBuf
writeZero
(int p_writeZero_1_) Methods inherited from class io.netty.buffer.ByteBuf
getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
capacity
in classio.netty.buffer.ByteBuf
-
capacity
public io.netty.buffer.ByteBuf capacity(int p_capacity_1_) - Specified by:
capacity
in classio.netty.buffer.ByteBuf
-
maxCapacity
public int maxCapacity()- Specified by:
maxCapacity
in classio.netty.buffer.ByteBuf
-
alloc
public io.netty.buffer.ByteBufAllocator alloc()- Specified by:
alloc
in classio.netty.buffer.ByteBuf
-
order
- Specified by:
order
in classio.netty.buffer.ByteBuf
-
order
- Specified by:
order
in classio.netty.buffer.ByteBuf
-
unwrap
public io.netty.buffer.ByteBuf unwrap()- Specified by:
unwrap
in classio.netty.buffer.ByteBuf
-
isDirect
public boolean isDirect()- Specified by:
isDirect
in classio.netty.buffer.ByteBuf
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in classio.netty.buffer.ByteBuf
-
asReadOnly
public io.netty.buffer.ByteBuf asReadOnly()- Specified by:
asReadOnly
in classio.netty.buffer.ByteBuf
-
readerIndex
public int readerIndex()- Specified by:
readerIndex
in classio.netty.buffer.ByteBuf
-
readerIndex
public io.netty.buffer.ByteBuf readerIndex(int p_readerIndex_1_) - Specified by:
readerIndex
in classio.netty.buffer.ByteBuf
-
writerIndex
public int writerIndex()- Specified by:
writerIndex
in classio.netty.buffer.ByteBuf
-
writerIndex
public io.netty.buffer.ByteBuf writerIndex(int p_writerIndex_1_) - Specified by:
writerIndex
in classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int p_setIndex_1_, int p_setIndex_2_) - Specified by:
setIndex
in classio.netty.buffer.ByteBuf
-
readableBytes
public int readableBytes()- Specified by:
readableBytes
in classio.netty.buffer.ByteBuf
-
writableBytes
public int writableBytes()- Specified by:
writableBytes
in classio.netty.buffer.ByteBuf
-
maxWritableBytes
public int maxWritableBytes()- Specified by:
maxWritableBytes
in classio.netty.buffer.ByteBuf
-
isReadable
public boolean isReadable()- Specified by:
isReadable
in classio.netty.buffer.ByteBuf
-
isReadable
public boolean isReadable(int p_isReadable_1_) - Specified by:
isReadable
in classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable()- Specified by:
isWritable
in classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable(int p_isWritable_1_) - Specified by:
isWritable
in classio.netty.buffer.ByteBuf
-
clear
public io.netty.buffer.ByteBuf clear()- Specified by:
clear
in classio.netty.buffer.ByteBuf
-
markReaderIndex
public io.netty.buffer.ByteBuf markReaderIndex()- Specified by:
markReaderIndex
in classio.netty.buffer.ByteBuf
-
resetReaderIndex
public io.netty.buffer.ByteBuf resetReaderIndex()- Specified by:
resetReaderIndex
in classio.netty.buffer.ByteBuf
-
markWriterIndex
public io.netty.buffer.ByteBuf markWriterIndex()- Specified by:
markWriterIndex
in classio.netty.buffer.ByteBuf
-
resetWriterIndex
public io.netty.buffer.ByteBuf resetWriterIndex()- Specified by:
resetWriterIndex
in classio.netty.buffer.ByteBuf
-
discardReadBytes
public io.netty.buffer.ByteBuf discardReadBytes()- Specified by:
discardReadBytes
in classio.netty.buffer.ByteBuf
-
discardSomeReadBytes
public io.netty.buffer.ByteBuf discardSomeReadBytes()- Specified by:
discardSomeReadBytes
in classio.netty.buffer.ByteBuf
-
ensureWritable
public io.netty.buffer.ByteBuf ensureWritable(int p_ensureWritable_1_) - Specified by:
ensureWritable
in classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int p_ensureWritable_1_, boolean p_ensureWritable_2_) - Specified by:
ensureWritable
in classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int p_getBoolean_1_) - Specified by:
getBoolean
in classio.netty.buffer.ByteBuf
-
getByte
public byte getByte(int p_getByte_1_) - Specified by:
getByte
in classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int p_getUnsignedByte_1_) - Specified by:
getUnsignedByte
in classio.netty.buffer.ByteBuf
-
getShort
public short getShort(int p_getShort_1_) - Specified by:
getShort
in classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int p_getShortLE_1_) - Specified by:
getShortLE
in classio.netty.buffer.ByteBuf
-
getUnsignedShort
public int getUnsignedShort(int p_getUnsignedShort_1_) - Specified by:
getUnsignedShort
in classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int p_getUnsignedShortLE_1_) - Specified by:
getUnsignedShortLE
in classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int p_getMedium_1_) - Specified by:
getMedium
in classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int p_getMediumLE_1_) - Specified by:
getMediumLE
in classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int p_getUnsignedMedium_1_) - Specified by:
getUnsignedMedium
in classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int p_getUnsignedMediumLE_1_) - Specified by:
getUnsignedMediumLE
in classio.netty.buffer.ByteBuf
-
getInt
public int getInt(int p_getInt_1_) - Specified by:
getInt
in classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int p_getIntLE_1_) - Specified by:
getIntLE
in classio.netty.buffer.ByteBuf
-
getUnsignedInt
public long getUnsignedInt(int p_getUnsignedInt_1_) - Specified by:
getUnsignedInt
in classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int p_getUnsignedIntLE_1_) - Specified by:
getUnsignedIntLE
in classio.netty.buffer.ByteBuf
-
getLong
public long getLong(int p_getLong_1_) - Specified by:
getLong
in classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int p_getLongLE_1_) - Specified by:
getLongLE
in classio.netty.buffer.ByteBuf
-
getChar
public char getChar(int p_getChar_1_) - Specified by:
getChar
in classio.netty.buffer.ByteBuf
-
getFloat
public float getFloat(int p_getFloat_1_) - Specified by:
getFloat
in classio.netty.buffer.ByteBuf
-
getDouble
public double getDouble(int p_getDouble_1_) - Specified by:
getDouble
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, io.netty.buffer.ByteBuf p_getBytes_2_) - Specified by:
getBytes
in 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:
getBytes
in 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:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int p_getBytes_1_, byte[] p_getBytes_2_) - Specified by:
getBytes
in 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:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytes
in 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:
getBytes
in 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:
getBytes
in 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:
getBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
getCharSequence
public CharSequence getCharSequence(int p_getCharSequence_1_, int p_getCharSequence_2_, Charset p_getCharSequence_3_) - Specified by:
getCharSequence
in classio.netty.buffer.ByteBuf
-
setBoolean
public io.netty.buffer.ByteBuf setBoolean(int p_setBoolean_1_, boolean p_setBoolean_2_) - Specified by:
setBoolean
in classio.netty.buffer.ByteBuf
-
setByte
public io.netty.buffer.ByteBuf setByte(int p_setByte_1_, int p_setByte_2_) - Specified by:
setByte
in classio.netty.buffer.ByteBuf
-
setShort
public io.netty.buffer.ByteBuf setShort(int p_setShort_1_, int p_setShort_2_) - Specified by:
setShort
in classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int p_setShortLE_1_, int p_setShortLE_2_) - Specified by:
setShortLE
in classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int p_setMedium_1_, int p_setMedium_2_) - Specified by:
setMedium
in classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int p_setMediumLE_1_, int p_setMediumLE_2_) - Specified by:
setMediumLE
in classio.netty.buffer.ByteBuf
-
setInt
public io.netty.buffer.ByteBuf setInt(int p_setInt_1_, int p_setInt_2_) - Specified by:
setInt
in classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int p_setIntLE_1_, int p_setIntLE_2_) - Specified by:
setIntLE
in classio.netty.buffer.ByteBuf
-
setLong
public io.netty.buffer.ByteBuf setLong(int p_setLong_1_, long p_setLong_2_) - Specified by:
setLong
in classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int p_setLongLE_1_, long p_setLongLE_2_) - Specified by:
setLongLE
in classio.netty.buffer.ByteBuf
-
setChar
public io.netty.buffer.ByteBuf setChar(int p_setChar_1_, int p_setChar_2_) - Specified by:
setChar
in classio.netty.buffer.ByteBuf
-
setFloat
public io.netty.buffer.ByteBuf setFloat(int p_setFloat_1_, float p_setFloat_2_) - Specified by:
setFloat
in classio.netty.buffer.ByteBuf
-
setDouble
public io.netty.buffer.ByteBuf setDouble(int p_setDouble_1_, double p_setDouble_2_) - Specified by:
setDouble
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_setBytes_1_, io.netty.buffer.ByteBuf p_setBytes_2_) - Specified by:
setBytes
in 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:
setBytes
in 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:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int p_setBytes_1_, byte[] p_setBytes_2_) - Specified by:
setBytes
in 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:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public int setBytes(int p_setBytes_1_, InputStream p_setBytes_2_, int p_setBytes_3_) throws IOException - Specified by:
setBytes
in 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:
setBytes
in 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:
setBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
setZero
public io.netty.buffer.ByteBuf setZero(int p_setZero_1_, int p_setZero_2_) - Specified by:
setZero
in classio.netty.buffer.ByteBuf
-
setCharSequence
public int setCharSequence(int p_setCharSequence_1_, CharSequence p_setCharSequence_2_, Charset p_setCharSequence_3_) - Specified by:
setCharSequence
in classio.netty.buffer.ByteBuf
-
readBoolean
public boolean readBoolean()- Specified by:
readBoolean
in classio.netty.buffer.ByteBuf
-
readByte
public byte readByte()- Specified by:
readByte
in classio.netty.buffer.ByteBuf
-
readUnsignedByte
public short readUnsignedByte()- Specified by:
readUnsignedByte
in classio.netty.buffer.ByteBuf
-
readShort
public short readShort()- Specified by:
readShort
in classio.netty.buffer.ByteBuf
-
readShortLE
public short readShortLE()- Specified by:
readShortLE
in classio.netty.buffer.ByteBuf
-
readUnsignedShort
public int readUnsignedShort()- Specified by:
readUnsignedShort
in classio.netty.buffer.ByteBuf
-
readUnsignedShortLE
public int readUnsignedShortLE()- Specified by:
readUnsignedShortLE
in classio.netty.buffer.ByteBuf
-
readMedium
public int readMedium()- Specified by:
readMedium
in classio.netty.buffer.ByteBuf
-
readMediumLE
public int readMediumLE()- Specified by:
readMediumLE
in classio.netty.buffer.ByteBuf
-
readUnsignedMedium
public int readUnsignedMedium()- Specified by:
readUnsignedMedium
in classio.netty.buffer.ByteBuf
-
readUnsignedMediumLE
public int readUnsignedMediumLE()- Specified by:
readUnsignedMediumLE
in classio.netty.buffer.ByteBuf
-
readInt
public int readInt()- Specified by:
readInt
in classio.netty.buffer.ByteBuf
-
readIntLE
public int readIntLE()- Specified by:
readIntLE
in classio.netty.buffer.ByteBuf
-
readUnsignedInt
public long readUnsignedInt()- Specified by:
readUnsignedInt
in classio.netty.buffer.ByteBuf
-
readUnsignedIntLE
public long readUnsignedIntLE()- Specified by:
readUnsignedIntLE
in classio.netty.buffer.ByteBuf
-
readLong
public long readLong()- Specified by:
readLong
in classio.netty.buffer.ByteBuf
-
readLongLE
public long readLongLE()- Specified by:
readLongLE
in classio.netty.buffer.ByteBuf
-
readChar
public char readChar()- Specified by:
readChar
in classio.netty.buffer.ByteBuf
-
readFloat
public float readFloat()- Specified by:
readFloat
in classio.netty.buffer.ByteBuf
-
readDouble
public double readDouble()- Specified by:
readDouble
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(int p_readBytes_1_) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int p_readSlice_1_) - Specified by:
readSlice
in classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int p_readRetainedSlice_1_) - Specified by:
readRetainedSlice
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_readBytes_1_) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf p_readBytes_1_, int p_readBytes_2_) - Specified by:
readBytes
in 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:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] p_readBytes_1_) - Specified by:
readBytes
in 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:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(OutputStream p_readBytes_1_, int p_readBytes_2_) throws IOException - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
readBytes
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
readCharSequence
- Specified by:
readCharSequence
in classio.netty.buffer.ByteBuf
-
readBytes
public int readBytes(FileChannel p_readBytes_1_, long p_readBytes_2_, int p_readBytes_4_) throws IOException - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
skipBytes
public io.netty.buffer.ByteBuf skipBytes(int p_skipBytes_1_) - Specified by:
skipBytes
in classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean p_writeBoolean_1_) - Specified by:
writeBoolean
in classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int p_writeByte_1_) - Specified by:
writeByte
in classio.netty.buffer.ByteBuf
-
writeShort
public io.netty.buffer.ByteBuf writeShort(int p_writeShort_1_) - Specified by:
writeShort
in classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int p_writeShortLE_1_) - Specified by:
writeShortLE
in classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int p_writeMedium_1_) - Specified by:
writeMedium
in classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int p_writeMediumLE_1_) - Specified by:
writeMediumLE
in classio.netty.buffer.ByteBuf
-
writeInt
public io.netty.buffer.ByteBuf writeInt(int p_writeInt_1_) - Specified by:
writeInt
in classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int p_writeIntLE_1_) - Specified by:
writeIntLE
in classio.netty.buffer.ByteBuf
-
writeLong
public io.netty.buffer.ByteBuf writeLong(long p_writeLong_1_) - Specified by:
writeLong
in classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long p_writeLongLE_1_) - Specified by:
writeLongLE
in classio.netty.buffer.ByteBuf
-
writeChar
public io.netty.buffer.ByteBuf writeChar(int p_writeChar_1_) - Specified by:
writeChar
in classio.netty.buffer.ByteBuf
-
writeFloat
public io.netty.buffer.ByteBuf writeFloat(float p_writeFloat_1_) - Specified by:
writeFloat
in classio.netty.buffer.ByteBuf
-
writeDouble
public io.netty.buffer.ByteBuf writeDouble(double p_writeDouble_1_) - Specified by:
writeDouble
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_writeBytes_1_) - Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf p_writeBytes_1_, int p_writeBytes_2_) - Specified by:
writeBytes
in 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:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] p_writeBytes_1_) - Specified by:
writeBytes
in 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:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
writeBytes
public int writeBytes(ScatteringByteChannel p_writeBytes_1_, int p_writeBytes_2_) throws IOException - Specified by:
writeBytes
in 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:
writeBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
writeZero
public io.netty.buffer.ByteBuf writeZero(int p_writeZero_1_) - Specified by:
writeZero
in classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequence
in classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int p_indexOf_1_, int p_indexOf_2_, byte p_indexOf_3_) - Specified by:
indexOf
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte p_bytesBefore_1_) - Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int p_bytesBefore_1_, byte p_bytesBefore_2_) - Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int p_bytesBefore_1_, int p_bytesBefore_2_, byte p_bytesBefore_3_) - Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor p_forEachByte_1_) - Specified by:
forEachByte
in 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:
forEachByte
in classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor p_forEachByteDesc_1_) - Specified by:
forEachByteDesc
in 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:
forEachByteDesc
in classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy()- Specified by:
copy
in classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy(int p_copy_1_, int p_copy_2_) - Specified by:
copy
in classio.netty.buffer.ByteBuf
-
slice
public io.netty.buffer.ByteBuf slice()- Specified by:
slice
in classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice()- Specified by:
retainedSlice
in classio.netty.buffer.ByteBuf
-
slice
public io.netty.buffer.ByteBuf slice(int p_slice_1_, int p_slice_2_) - Specified by:
slice
in classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int p_retainedSlice_1_, int p_retainedSlice_2_) - Specified by:
retainedSlice
in classio.netty.buffer.ByteBuf
-
duplicate
public io.netty.buffer.ByteBuf duplicate()- Specified by:
duplicate
in classio.netty.buffer.ByteBuf
-
retainedDuplicate
public io.netty.buffer.ByteBuf retainedDuplicate()- Specified by:
retainedDuplicate
in classio.netty.buffer.ByteBuf
-
nioBufferCount
public int nioBufferCount()- Specified by:
nioBufferCount
in classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBuffer
in classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBuffer
in classio.netty.buffer.ByteBuf
-
internalNioBuffer
- Specified by:
internalNioBuffer
in classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffers
in classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffers
in classio.netty.buffer.ByteBuf
-
hasArray
public boolean hasArray()- Specified by:
hasArray
in classio.netty.buffer.ByteBuf
-
array
public byte[] array()- Specified by:
array
in classio.netty.buffer.ByteBuf
-
arrayOffset
public int arrayOffset()- Specified by:
arrayOffset
in classio.netty.buffer.ByteBuf
-
hasMemoryAddress
public boolean hasMemoryAddress()- Specified by:
hasMemoryAddress
in classio.netty.buffer.ByteBuf
-
memoryAddress
public long memoryAddress()- Specified by:
memoryAddress
in classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toString
in classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toString
in classio.netty.buffer.ByteBuf
-
hashCode
public int hashCode()- Specified by:
hashCode
in classio.netty.buffer.ByteBuf
-
equals
- Specified by:
equals
in classio.netty.buffer.ByteBuf
-
compareTo
public int compareTo(io.netty.buffer.ByteBuf p_compareTo_1_) - Specified by:
compareTo
in interfaceComparable<io.netty.buffer.ByteBuf>
- Specified by:
compareTo
in classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toString
in classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain(int p_retain_1_) - Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
- Specified by:
retain
in classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain()- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
- Specified by:
retain
in classio.netty.buffer.ByteBuf
-
touch
public io.netty.buffer.ByteBuf touch()- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
- Specified by:
touch
in classio.netty.buffer.ByteBuf
-
touch
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
- Specified by:
touch
in classio.netty.buffer.ByteBuf
-
refCnt
public int refCnt()- Specified by:
refCnt
in interfaceio.netty.util.ReferenceCounted
-
release
public boolean release()- Specified by:
release
in interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int p_release_1_) - Specified by:
release
in interfaceio.netty.util.ReferenceCounted
-