Package net.minecraft.network
Class PacketByteBuf
java.lang.Object
io.netty.buffer.ByteBuf
net.minecraft.network.PacketByteBuf
- All Implemented Interfaces:
io.netty.util.ReferenceCounted,Comparable<io.netty.buffer.ByteBuf>
public class PacketByteBuf
extends io.netty.buffer.ByteBuf
-
Field Summary
Fields Modifier and Type Field Description private io.netty.buffer.ByteBufparent -
Constructor Summary
Constructors Constructor Description PacketByteBuf(io.netty.buffer.ByteBuf byteBuf) -
Method Summary
Modifier and Type Method Description io.netty.buffer.ByteBufAllocatoralloc()byte[]array()intarrayOffset()io.netty.buffer.ByteBufasReadOnly()intbytesBefore(byte byte2)intbytesBefore(int int2, byte byte2)intbytesBefore(int int2, int int3, byte byte2)intcapacity()io.netty.buffer.ByteBufcapacity(int int2)io.netty.buffer.ByteBufclear()intcompareTo(io.netty.buffer.ByteBuf byteBuf)io.netty.buffer.ByteBufcopy()io.netty.buffer.ByteBufcopy(int int2, int int3)<T> Tdecode(com.mojang.serialization.Codec<T> codec)io.netty.buffer.ByteBufdiscardReadBytes()io.netty.buffer.ByteBufdiscardSomeReadBytes()io.netty.buffer.ByteBufduplicate()<T> voidencode(com.mojang.serialization.Codec<T> codec, T t)io.netty.buffer.ByteBufensureWritable(int int2)intensureWritable(int int2, boolean bool)booleanequals(Object object)intforEachByte(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)intforEachByte(io.netty.util.ByteProcessor byteProcessor)intforEachByteDesc(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)intforEachByteDesc(io.netty.util.ByteProcessor byteProcessor)booleangetBoolean(int int2)bytegetByte(int int2)io.netty.buffer.ByteBufgetBytes(int int2, byte[] byte2)io.netty.buffer.ByteBufgetBytes(int int2, byte[] byte2, int int3, int int4)io.netty.buffer.ByteBufgetBytes(int int2, io.netty.buffer.ByteBuf byteBuf)io.netty.buffer.ByteBufgetBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)io.netty.buffer.ByteBufgetBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)io.netty.buffer.ByteBufgetBytes(int int2, OutputStream outputStream, int int3)io.netty.buffer.ByteBufgetBytes(int int2, ByteBuffer byteBuffer)intgetBytes(int int2, FileChannel fileChannel, long long2, int int3)intgetBytes(int int2, GatheringByteChannel gatheringByteChannel, int int3)chargetChar(int int2)CharSequencegetCharSequence(int int2, int int3, Charset charset)doublegetDouble(int int2)floatgetFloat(int int2)intgetInt(int int2)intgetIntLE(int int2)longgetLong(int int2)longgetLongLE(int int2)intgetMedium(int int2)intgetMediumLE(int int2)shortgetShort(int int2)shortgetShortLE(int int2)shortgetUnsignedByte(int int2)longgetUnsignedInt(int int2)longgetUnsignedIntLE(int int2)intgetUnsignedMedium(int int2)intgetUnsignedMediumLE(int int2)intgetUnsignedShort(int int2)intgetUnsignedShortLE(int int2)static intgetVarIntSizeBytes(int int2)booleanhasArray()inthashCode()booleanhasMemoryAddress()intindexOf(int int2, int int3, byte byte2)ByteBufferinternalNioBuffer(int int2, int int3)booleanisDirect()booleanisReadable()booleanisReadable(int int2)booleanisReadOnly()booleanisWritable()booleanisWritable(int int2)io.netty.buffer.ByteBufmarkReaderIndex()io.netty.buffer.ByteBufmarkWriterIndex()intmaxCapacity()intmaxWritableBytes()longmemoryAddress()CompoundTagmethod_30616(PositionTracker positionTracker)CompoundTagmethod_30617()ByteBuffernioBuffer()ByteBuffernioBuffer(int int2, int int3)intnioBufferCount()ByteBuffer[]nioBuffers()ByteBuffer[]nioBuffers(int int2, int int3)ByteOrderorder()io.netty.buffer.ByteBuforder(ByteOrder byteOrder)intreadableBytes()BlockHitResultreadBlockHitResult()BlockPosreadBlockPos()booleanreadBoolean()bytereadByte()byte[]readByteArray()byte[]readByteArray(int int2)io.netty.buffer.ByteBufreadBytes(byte[] byte2)io.netty.buffer.ByteBufreadBytes(byte[] byte2, int int2, int int3)io.netty.buffer.ByteBufreadBytes(int int2)io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf byteBuf)io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf byteBuf, int int2)io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)io.netty.buffer.ByteBufreadBytes(OutputStream outputStream, int int2)io.netty.buffer.ByteBufreadBytes(ByteBuffer byteBuffer)intreadBytes(FileChannel fileChannel, long long2, int int2)intreadBytes(GatheringByteChannel gatheringByteChannel, int int2)charreadChar()CharSequencereadCharSequence(int int2, Charset charset)ChunkSectionPosreadChunkSectionPos()CompoundTagreadCompoundTag()DatereadDate()doublereadDouble()<T extends Enum<T>>
TreadEnumConstant(Class<T> class2)intreaderIndex()io.netty.buffer.ByteBufreaderIndex(int int2)floatreadFloat()IdentifierreadIdentifier()intreadInt()int[]readIntArray()int[]readIntArray(int int2)intreadIntLE()ItemStackreadItemStack()longreadLong()long[]readLongArray(long[] long2)long[]readLongArray(long[] toArray, int int2)longreadLongLE()intreadMedium()intreadMediumLE()io.netty.buffer.ByteBufreadRetainedSlice(int int2)shortreadShort()shortreadShortLE()io.netty.buffer.ByteBufreadSlice(int int2)StringreadString()StringreadString(int int2)TextreadText()shortreadUnsignedByte()longreadUnsignedInt()longreadUnsignedIntLE()intreadUnsignedMedium()intreadUnsignedMediumLE()intreadUnsignedShort()intreadUnsignedShortLE()UUIDreadUuid()intreadVarInt()longreadVarLong()intrefCnt()booleanrelease()booleanrelease(int int2)io.netty.buffer.ByteBufresetReaderIndex()io.netty.buffer.ByteBufresetWriterIndex()io.netty.buffer.ByteBufretain()io.netty.buffer.ByteBufretain(int int2)io.netty.buffer.ByteBufretainedDuplicate()io.netty.buffer.ByteBufretainedSlice()io.netty.buffer.ByteBufretainedSlice(int int2, int int3)io.netty.buffer.ByteBufsetBoolean(int int2, boolean bool)io.netty.buffer.ByteBufsetByte(int int2, int int3)io.netty.buffer.ByteBufsetBytes(int int2, byte[] byte2)io.netty.buffer.ByteBufsetBytes(int int2, byte[] byte2, int int3, int int4)io.netty.buffer.ByteBufsetBytes(int int2, io.netty.buffer.ByteBuf byteBuf)io.netty.buffer.ByteBufsetBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)io.netty.buffer.ByteBufsetBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)intsetBytes(int int2, InputStream inputStream, int int3)io.netty.buffer.ByteBufsetBytes(int int2, ByteBuffer byteBuffer)intsetBytes(int int2, FileChannel fileChannel, long long2, int int3)intsetBytes(int int2, ScatteringByteChannel scatteringByteChannel, int int3)io.netty.buffer.ByteBufsetChar(int int2, int int3)intsetCharSequence(int int2, CharSequence charSequence, Charset charset)io.netty.buffer.ByteBufsetDouble(int int2, double double2)io.netty.buffer.ByteBufsetFloat(int int2, float float2)io.netty.buffer.ByteBufsetIndex(int int2, int int3)io.netty.buffer.ByteBufsetInt(int int2, int int3)io.netty.buffer.ByteBufsetIntLE(int int2, int int3)io.netty.buffer.ByteBufsetLong(int int2, long long2)io.netty.buffer.ByteBufsetLongLE(int int2, long long2)io.netty.buffer.ByteBufsetMedium(int int2, int int3)io.netty.buffer.ByteBufsetMediumLE(int int2, int int3)io.netty.buffer.ByteBufsetShort(int int2, int int3)io.netty.buffer.ByteBufsetShortLE(int int2, int int3)io.netty.buffer.ByteBufsetZero(int int2, int int3)io.netty.buffer.ByteBufskipBytes(int int2)io.netty.buffer.ByteBufslice()io.netty.buffer.ByteBufslice(int int2, int int3)StringtoString()StringtoString(int int2, int int3, Charset charset)StringtoString(Charset charset)io.netty.buffer.ByteBuftouch()io.netty.buffer.ByteBuftouch(Object object)io.netty.buffer.ByteBufunwrap()intwritableBytes()voidwriteBlockHitResult(BlockHitResult blockHitResult)PacketByteBufwriteBlockPos(BlockPos blockPos)io.netty.buffer.ByteBufwriteBoolean(boolean bool)io.netty.buffer.ByteBufwriteByte(int int2)PacketByteBufwriteByteArray(byte[] byte2)io.netty.buffer.ByteBufwriteBytes(byte[] byte2)io.netty.buffer.ByteBufwriteBytes(byte[] byte2, int int2, int int3)io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf byteBuf)io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf byteBuf, int int2)io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)intwriteBytes(InputStream inputStream, int int2)io.netty.buffer.ByteBufwriteBytes(ByteBuffer byteBuffer)intwriteBytes(FileChannel fileChannel, long long2, int int2)intwriteBytes(ScatteringByteChannel scatteringByteChannel, int int2)io.netty.buffer.ByteBufwriteChar(int int2)intwriteCharSequence(CharSequence charSequence, Charset charset)PacketByteBufwriteCompoundTag(CompoundTag compoundTag)PacketByteBufwriteDate(Date date)io.netty.buffer.ByteBufwriteDouble(double double2)PacketByteBufwriteEnumConstant(Enum<?> enum2)io.netty.buffer.ByteBufwriteFloat(float float2)PacketByteBufwriteIdentifier(Identifier identifier)io.netty.buffer.ByteBufwriteInt(int int2)PacketByteBufwriteIntArray(int[] int2)io.netty.buffer.ByteBufwriteIntLE(int int2)PacketByteBufwriteItemStack(ItemStack itemStack)io.netty.buffer.ByteBufwriteLong(long long2)PacketByteBufwriteLongArray(long[] long2)io.netty.buffer.ByteBufwriteLongLE(long long2)io.netty.buffer.ByteBufwriteMedium(int int2)io.netty.buffer.ByteBufwriteMediumLE(int int2)intwriterIndex()io.netty.buffer.ByteBufwriterIndex(int int2)io.netty.buffer.ByteBufwriteShort(int int2)io.netty.buffer.ByteBufwriteShortLE(int int2)PacketByteBufwriteString(String string)PacketByteBufwriteString(String string, int int2)PacketByteBufwriteText(Text text)PacketByteBufwriteUuid(UUID uUID)PacketByteBufwriteVarInt(int int2)PacketByteBufwriteVarLong(long long2)io.netty.buffer.ByteBufwriteZero(int int2)Methods inherited from class io.netty.buffer.ByteBuf
getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
-
Field Details
-
parent
private final io.netty.buffer.ByteBuf parent
-
-
Constructor Details
-
PacketByteBuf
public PacketByteBuf(io.netty.buffer.ByteBuf byteBuf)
-
-
Method Details
-
getVarIntSizeBytes
public static int getVarIntSizeBytes(int int2) -
decode
public <T> T decode(com.mojang.serialization.Codec<T> codec) -
encode
public <T> void encode(com.mojang.serialization.Codec<T> codec, T t) -
writeByteArray
-
readByteArray
public byte[] readByteArray() -
readByteArray
public byte[] readByteArray(int int2) -
writeIntArray
-
readIntArray
public int[] readIntArray() -
readIntArray
public int[] readIntArray(int int2) -
writeLongArray
-
readLongArray
-
readLongArray
-
readBlockPos
-
writeBlockPos
-
readChunkSectionPos
-
readText
-
writeText
-
readEnumConstant
-
writeEnumConstant
-
readVarInt
public int readVarInt() -
readVarLong
public long readVarLong() -
writeUuid
-
readUuid
-
writeVarInt
-
writeVarLong
-
writeCompoundTag
-
readCompoundTag
-
method_30617
-
method_30616
-
writeItemStack
-
readItemStack
-
readString
-
readString
-
writeString
-
writeString
-
readIdentifier
-
writeIdentifier
-
readDate
-
writeDate
-
readBlockHitResult
-
writeBlockHitResult
-
capacity
public int capacity()- Specified by:
capacityin classio.netty.buffer.ByteBuf
-
capacity
public io.netty.buffer.ByteBuf capacity(int int2)- 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 int2)- 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 int2)- Specified by:
writerIndexin classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int int2, int int3)- 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 int2)- Specified by:
isReadablein classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable()- Specified by:
isWritablein classio.netty.buffer.ByteBuf
-
isWritable
public boolean isWritable(int int2)- 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 int2)- Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int int2, boolean bool)- Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int int2)- Specified by:
getBooleanin classio.netty.buffer.ByteBuf
-
getByte
public byte getByte(int int2)- Specified by:
getBytein classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int int2)- Specified by:
getUnsignedBytein classio.netty.buffer.ByteBuf
-
getShort
public short getShort(int int2)- Specified by:
getShortin classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int int2)- Specified by:
getShortLEin classio.netty.buffer.ByteBuf
-
getUnsignedShort
public int getUnsignedShort(int int2)- Specified by:
getUnsignedShortin classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int int2)- Specified by:
getUnsignedShortLEin classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int int2)- Specified by:
getMediumin classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int int2)- Specified by:
getMediumLEin classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int int2)- Specified by:
getUnsignedMediumin classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int int2)- Specified by:
getUnsignedMediumLEin classio.netty.buffer.ByteBuf
-
getInt
public int getInt(int int2)- Specified by:
getIntin classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int int2)- Specified by:
getIntLEin classio.netty.buffer.ByteBuf
-
getUnsignedInt
public long getUnsignedInt(int int2)- Specified by:
getUnsignedIntin classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int int2)- Specified by:
getUnsignedIntLEin classio.netty.buffer.ByteBuf
-
getLong
public long getLong(int int2)- Specified by:
getLongin classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int int2)- Specified by:
getLongLEin classio.netty.buffer.ByteBuf
-
getChar
public char getChar(int int2)- Specified by:
getCharin classio.netty.buffer.ByteBuf
-
getFloat
public float getFloat(int int2)- Specified by:
getFloatin classio.netty.buffer.ByteBuf
-
getDouble
public double getDouble(int int2)- Specified by:
getDoublein classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, io.netty.buffer.ByteBuf byteBuf)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, byte[] byte2)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, byte[] byte2, int int3, int int4)- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, OutputStream outputStream, int int3) throws IOException- Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getBytes
public int getBytes(int int2, GatheringByteChannel gatheringByteChannel, int int3) throws IOException- Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getBytes
- 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 int2, boolean bool)- Specified by:
setBooleanin classio.netty.buffer.ByteBuf
-
setByte
public io.netty.buffer.ByteBuf setByte(int int2, int int3)- Specified by:
setBytein classio.netty.buffer.ByteBuf
-
setShort
public io.netty.buffer.ByteBuf setShort(int int2, int int3)- Specified by:
setShortin classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int int2, int int3)- Specified by:
setShortLEin classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int int2, int int3)- Specified by:
setMediumin classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int int2, int int3)- Specified by:
setMediumLEin classio.netty.buffer.ByteBuf
-
setInt
public io.netty.buffer.ByteBuf setInt(int int2, int int3)- Specified by:
setIntin classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int int2, int int3)- Specified by:
setIntLEin classio.netty.buffer.ByteBuf
-
setLong
public io.netty.buffer.ByteBuf setLong(int int2, long long2)- Specified by:
setLongin classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int int2, long long2)- Specified by:
setLongLEin classio.netty.buffer.ByteBuf
-
setChar
public io.netty.buffer.ByteBuf setChar(int int2, int int3)- Specified by:
setCharin classio.netty.buffer.ByteBuf
-
setFloat
public io.netty.buffer.ByteBuf setFloat(int int2, float float2)- Specified by:
setFloatin classio.netty.buffer.ByteBuf
-
setDouble
public io.netty.buffer.ByteBuf setDouble(int int2, double double2)- Specified by:
setDoublein classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, io.netty.buffer.ByteBuf byteBuf)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, byte[] byte2)- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, byte[] byte2, int int3, int int4)- 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 int2, ScatteringByteChannel scatteringByteChannel, int int3) throws IOException- Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setZero
public io.netty.buffer.ByteBuf setZero(int int2, int int3)- 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 int2)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int int2)- Specified by:
readSlicein classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int int2)- Specified by:
readRetainedSlicein classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf byteBuf)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf byteBuf, int int2)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] byte2)- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] byte2, int int2, int int3)- 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 int2)- Specified by:
skipBytesin classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean bool)- Specified by:
writeBooleanin classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int int2)- Specified by:
writeBytein classio.netty.buffer.ByteBuf
-
writeShort
public io.netty.buffer.ByteBuf writeShort(int int2)- Specified by:
writeShortin classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int int2)- Specified by:
writeShortLEin classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int int2)- Specified by:
writeMediumin classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int int2)- Specified by:
writeMediumLEin classio.netty.buffer.ByteBuf
-
writeInt
public io.netty.buffer.ByteBuf writeInt(int int2)- Specified by:
writeIntin classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int int2)- Specified by:
writeIntLEin classio.netty.buffer.ByteBuf
-
writeLong
public io.netty.buffer.ByteBuf writeLong(long long2)- Specified by:
writeLongin classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long long2)- Specified by:
writeLongLEin classio.netty.buffer.ByteBuf
-
writeChar
public io.netty.buffer.ByteBuf writeChar(int int2)- Specified by:
writeCharin classio.netty.buffer.ByteBuf
-
writeFloat
public io.netty.buffer.ByteBuf writeFloat(float float2)- Specified by:
writeFloatin classio.netty.buffer.ByteBuf
-
writeDouble
public io.netty.buffer.ByteBuf writeDouble(double double2)- Specified by:
writeDoublein classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf byteBuf)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf byteBuf, int int2)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] byte2)- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] byte2, int int2, int int3)- 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 int2)- Specified by:
writeZeroin classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequencein classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int int2, int int3, byte byte2)- Specified by:
indexOfin classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte byte2)- Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int int2, byte byte2)- Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int int2, int int3, byte byte2)- Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor byteProcessor)- Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)- Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor byteProcessor)- Specified by:
forEachByteDescin classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)- 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 int2, int int3)- 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 int2, int int3)- Specified by:
slicein classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int int2, int int3)- 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 byteBuf)- 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 int2)- 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() -
release
public boolean release() -
release
public boolean release(int int2)
-