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.ByteBuf
parent
-
Constructor Summary
Constructors Constructor Description PacketByteBuf(io.netty.buffer.ByteBuf byteBuf)
-
Method Summary
Modifier and Type Method Description io.netty.buffer.ByteBufAllocator
alloc()
byte[]
array()
int
arrayOffset()
io.netty.buffer.ByteBuf
asReadOnly()
int
bytesBefore(byte byte2)
int
bytesBefore(int int2, byte byte2)
int
bytesBefore(int int2, int int3, byte byte2)
int
capacity()
io.netty.buffer.ByteBuf
capacity(int int2)
io.netty.buffer.ByteBuf
clear()
int
compareTo(io.netty.buffer.ByteBuf byteBuf)
io.netty.buffer.ByteBuf
copy()
io.netty.buffer.ByteBuf
copy(int int2, int int3)
<T> T
decode(com.mojang.serialization.Codec<T> codec)
io.netty.buffer.ByteBuf
discardReadBytes()
io.netty.buffer.ByteBuf
discardSomeReadBytes()
io.netty.buffer.ByteBuf
duplicate()
<T> void
encode(com.mojang.serialization.Codec<T> codec, T t)
io.netty.buffer.ByteBuf
ensureWritable(int int2)
int
ensureWritable(int int2, boolean bool)
boolean
equals(Object object)
int
forEachByte(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)
int
forEachByte(io.netty.util.ByteProcessor byteProcessor)
int
forEachByteDesc(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)
int
forEachByteDesc(io.netty.util.ByteProcessor byteProcessor)
boolean
getBoolean(int int2)
byte
getByte(int int2)
io.netty.buffer.ByteBuf
getBytes(int int2, byte[] byte2)
io.netty.buffer.ByteBuf
getBytes(int int2, byte[] byte2, int int3, int int4)
io.netty.buffer.ByteBuf
getBytes(int int2, io.netty.buffer.ByteBuf byteBuf)
io.netty.buffer.ByteBuf
getBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)
io.netty.buffer.ByteBuf
getBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)
io.netty.buffer.ByteBuf
getBytes(int int2, OutputStream outputStream, int int3)
io.netty.buffer.ByteBuf
getBytes(int int2, ByteBuffer byteBuffer)
int
getBytes(int int2, FileChannel fileChannel, long long2, int int3)
int
getBytes(int int2, GatheringByteChannel gatheringByteChannel, int int3)
char
getChar(int int2)
CharSequence
getCharSequence(int int2, int int3, Charset charset)
double
getDouble(int int2)
float
getFloat(int int2)
int
getInt(int int2)
int
getIntLE(int int2)
long
getLong(int int2)
long
getLongLE(int int2)
int
getMedium(int int2)
int
getMediumLE(int int2)
short
getShort(int int2)
short
getShortLE(int int2)
short
getUnsignedByte(int int2)
long
getUnsignedInt(int int2)
long
getUnsignedIntLE(int int2)
int
getUnsignedMedium(int int2)
int
getUnsignedMediumLE(int int2)
int
getUnsignedShort(int int2)
int
getUnsignedShortLE(int int2)
static int
getVarIntSizeBytes(int int2)
boolean
hasArray()
int
hashCode()
boolean
hasMemoryAddress()
int
indexOf(int int2, int int3, byte byte2)
ByteBuffer
internalNioBuffer(int int2, int int3)
boolean
isDirect()
boolean
isReadable()
boolean
isReadable(int int2)
boolean
isReadOnly()
boolean
isWritable()
boolean
isWritable(int int2)
io.netty.buffer.ByteBuf
markReaderIndex()
io.netty.buffer.ByteBuf
markWriterIndex()
int
maxCapacity()
int
maxWritableBytes()
long
memoryAddress()
CompoundTag
method_30616(PositionTracker positionTracker)
CompoundTag
method_30617()
ByteBuffer
nioBuffer()
ByteBuffer
nioBuffer(int int2, int int3)
int
nioBufferCount()
ByteBuffer[]
nioBuffers()
ByteBuffer[]
nioBuffers(int int2, int int3)
ByteOrder
order()
io.netty.buffer.ByteBuf
order(ByteOrder byteOrder)
int
readableBytes()
BlockHitResult
readBlockHitResult()
BlockPos
readBlockPos()
boolean
readBoolean()
byte
readByte()
byte[]
readByteArray()
byte[]
readByteArray(int int2)
io.netty.buffer.ByteBuf
readBytes(byte[] byte2)
io.netty.buffer.ByteBuf
readBytes(byte[] byte2, int int2, int int3)
io.netty.buffer.ByteBuf
readBytes(int int2)
io.netty.buffer.ByteBuf
readBytes(io.netty.buffer.ByteBuf byteBuf)
io.netty.buffer.ByteBuf
readBytes(io.netty.buffer.ByteBuf byteBuf, int int2)
io.netty.buffer.ByteBuf
readBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)
io.netty.buffer.ByteBuf
readBytes(OutputStream outputStream, int int2)
io.netty.buffer.ByteBuf
readBytes(ByteBuffer byteBuffer)
int
readBytes(FileChannel fileChannel, long long2, int int2)
int
readBytes(GatheringByteChannel gatheringByteChannel, int int2)
char
readChar()
CharSequence
readCharSequence(int int2, Charset charset)
ChunkSectionPos
readChunkSectionPos()
CompoundTag
readCompoundTag()
Date
readDate()
double
readDouble()
<T extends Enum<T>>
TreadEnumConstant(Class<T> class2)
int
readerIndex()
io.netty.buffer.ByteBuf
readerIndex(int int2)
float
readFloat()
Identifier
readIdentifier()
int
readInt()
int[]
readIntArray()
int[]
readIntArray(int int2)
int
readIntLE()
ItemStack
readItemStack()
long
readLong()
long[]
readLongArray(long[] long2)
long[]
readLongArray(long[] toArray, int int2)
long
readLongLE()
int
readMedium()
int
readMediumLE()
io.netty.buffer.ByteBuf
readRetainedSlice(int int2)
short
readShort()
short
readShortLE()
io.netty.buffer.ByteBuf
readSlice(int int2)
String
readString()
String
readString(int int2)
Text
readText()
short
readUnsignedByte()
long
readUnsignedInt()
long
readUnsignedIntLE()
int
readUnsignedMedium()
int
readUnsignedMediumLE()
int
readUnsignedShort()
int
readUnsignedShortLE()
UUID
readUuid()
int
readVarInt()
long
readVarLong()
int
refCnt()
boolean
release()
boolean
release(int int2)
io.netty.buffer.ByteBuf
resetReaderIndex()
io.netty.buffer.ByteBuf
resetWriterIndex()
io.netty.buffer.ByteBuf
retain()
io.netty.buffer.ByteBuf
retain(int int2)
io.netty.buffer.ByteBuf
retainedDuplicate()
io.netty.buffer.ByteBuf
retainedSlice()
io.netty.buffer.ByteBuf
retainedSlice(int int2, int int3)
io.netty.buffer.ByteBuf
setBoolean(int int2, boolean bool)
io.netty.buffer.ByteBuf
setByte(int int2, int int3)
io.netty.buffer.ByteBuf
setBytes(int int2, byte[] byte2)
io.netty.buffer.ByteBuf
setBytes(int int2, byte[] byte2, int int3, int int4)
io.netty.buffer.ByteBuf
setBytes(int int2, io.netty.buffer.ByteBuf byteBuf)
io.netty.buffer.ByteBuf
setBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)
io.netty.buffer.ByteBuf
setBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)
int
setBytes(int int2, InputStream inputStream, int int3)
io.netty.buffer.ByteBuf
setBytes(int int2, ByteBuffer byteBuffer)
int
setBytes(int int2, FileChannel fileChannel, long long2, int int3)
int
setBytes(int int2, ScatteringByteChannel scatteringByteChannel, int int3)
io.netty.buffer.ByteBuf
setChar(int int2, int int3)
int
setCharSequence(int int2, CharSequence charSequence, Charset charset)
io.netty.buffer.ByteBuf
setDouble(int int2, double double2)
io.netty.buffer.ByteBuf
setFloat(int int2, float float2)
io.netty.buffer.ByteBuf
setIndex(int int2, int int3)
io.netty.buffer.ByteBuf
setInt(int int2, int int3)
io.netty.buffer.ByteBuf
setIntLE(int int2, int int3)
io.netty.buffer.ByteBuf
setLong(int int2, long long2)
io.netty.buffer.ByteBuf
setLongLE(int int2, long long2)
io.netty.buffer.ByteBuf
setMedium(int int2, int int3)
io.netty.buffer.ByteBuf
setMediumLE(int int2, int int3)
io.netty.buffer.ByteBuf
setShort(int int2, int int3)
io.netty.buffer.ByteBuf
setShortLE(int int2, int int3)
io.netty.buffer.ByteBuf
setZero(int int2, int int3)
io.netty.buffer.ByteBuf
skipBytes(int int2)
io.netty.buffer.ByteBuf
slice()
io.netty.buffer.ByteBuf
slice(int int2, int int3)
String
toString()
String
toString(int int2, int int3, Charset charset)
String
toString(Charset charset)
io.netty.buffer.ByteBuf
touch()
io.netty.buffer.ByteBuf
touch(Object object)
io.netty.buffer.ByteBuf
unwrap()
int
writableBytes()
void
writeBlockHitResult(BlockHitResult blockHitResult)
PacketByteBuf
writeBlockPos(BlockPos blockPos)
io.netty.buffer.ByteBuf
writeBoolean(boolean bool)
io.netty.buffer.ByteBuf
writeByte(int int2)
PacketByteBuf
writeByteArray(byte[] byte2)
io.netty.buffer.ByteBuf
writeBytes(byte[] byte2)
io.netty.buffer.ByteBuf
writeBytes(byte[] byte2, int int2, int int3)
io.netty.buffer.ByteBuf
writeBytes(io.netty.buffer.ByteBuf byteBuf)
io.netty.buffer.ByteBuf
writeBytes(io.netty.buffer.ByteBuf byteBuf, int int2)
io.netty.buffer.ByteBuf
writeBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)
int
writeBytes(InputStream inputStream, int int2)
io.netty.buffer.ByteBuf
writeBytes(ByteBuffer byteBuffer)
int
writeBytes(FileChannel fileChannel, long long2, int int2)
int
writeBytes(ScatteringByteChannel scatteringByteChannel, int int2)
io.netty.buffer.ByteBuf
writeChar(int int2)
int
writeCharSequence(CharSequence charSequence, Charset charset)
PacketByteBuf
writeCompoundTag(CompoundTag compoundTag)
PacketByteBuf
writeDate(Date date)
io.netty.buffer.ByteBuf
writeDouble(double double2)
PacketByteBuf
writeEnumConstant(Enum<?> enum2)
io.netty.buffer.ByteBuf
writeFloat(float float2)
PacketByteBuf
writeIdentifier(Identifier identifier)
io.netty.buffer.ByteBuf
writeInt(int int2)
PacketByteBuf
writeIntArray(int[] int2)
io.netty.buffer.ByteBuf
writeIntLE(int int2)
PacketByteBuf
writeItemStack(ItemStack itemStack)
io.netty.buffer.ByteBuf
writeLong(long long2)
PacketByteBuf
writeLongArray(long[] long2)
io.netty.buffer.ByteBuf
writeLongLE(long long2)
io.netty.buffer.ByteBuf
writeMedium(int int2)
io.netty.buffer.ByteBuf
writeMediumLE(int int2)
int
writerIndex()
io.netty.buffer.ByteBuf
writerIndex(int int2)
io.netty.buffer.ByteBuf
writeShort(int int2)
io.netty.buffer.ByteBuf
writeShortLE(int int2)
PacketByteBuf
writeString(String string)
PacketByteBuf
writeString(String string, int int2)
PacketByteBuf
writeText(Text text)
PacketByteBuf
writeUuid(UUID uUID)
PacketByteBuf
writeVarInt(int int2)
PacketByteBuf
writeVarLong(long long2)
io.netty.buffer.ByteBuf
writeZero(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:
capacity
in classio.netty.buffer.ByteBuf
-
capacity
public io.netty.buffer.ByteBuf capacity(int int2)- 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 int2)- 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 int2)- Specified by:
writerIndex
in classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int int2, int int3)- 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 int2)- 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 int2)- 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 int2)- Specified by:
ensureWritable
in classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int int2, boolean bool)- Specified by:
ensureWritable
in classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int int2)- Specified by:
getBoolean
in classio.netty.buffer.ByteBuf
-
getByte
public byte getByte(int int2)- Specified by:
getByte
in classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int int2)- Specified by:
getUnsignedByte
in classio.netty.buffer.ByteBuf
-
getShort
public short getShort(int int2)- Specified by:
getShort
in classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int int2)- Specified by:
getShortLE
in classio.netty.buffer.ByteBuf
-
getUnsignedShort
public int getUnsignedShort(int int2)- Specified by:
getUnsignedShort
in classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int int2)- Specified by:
getUnsignedShortLE
in classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int int2)- Specified by:
getMedium
in classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int int2)- Specified by:
getMediumLE
in classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int int2)- Specified by:
getUnsignedMedium
in classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int int2)- Specified by:
getUnsignedMediumLE
in classio.netty.buffer.ByteBuf
-
getInt
public int getInt(int int2)- Specified by:
getInt
in classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int int2)- Specified by:
getIntLE
in classio.netty.buffer.ByteBuf
-
getUnsignedInt
public long getUnsignedInt(int int2)- Specified by:
getUnsignedInt
in classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int int2)- Specified by:
getUnsignedIntLE
in classio.netty.buffer.ByteBuf
-
getLong
public long getLong(int int2)- Specified by:
getLong
in classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int int2)- Specified by:
getLongLE
in classio.netty.buffer.ByteBuf
-
getChar
public char getChar(int int2)- Specified by:
getChar
in classio.netty.buffer.ByteBuf
-
getFloat
public float getFloat(int int2)- Specified by:
getFloat
in classio.netty.buffer.ByteBuf
-
getDouble
public double getDouble(int int2)- Specified by:
getDouble
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, io.netty.buffer.ByteBuf byteBuf)- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, byte[] byte2)- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int int2, byte[] byte2, int int3, int int4)- 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 int2, OutputStream outputStream, int int3) throws IOException- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
getBytes
public int getBytes(int int2, GatheringByteChannel gatheringByteChannel, int int3) throws IOException- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
getBytes
- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
getCharSequence
- Specified by:
getCharSequence
in classio.netty.buffer.ByteBuf
-
setBoolean
public io.netty.buffer.ByteBuf setBoolean(int int2, boolean bool)- Specified by:
setBoolean
in classio.netty.buffer.ByteBuf
-
setByte
public io.netty.buffer.ByteBuf setByte(int int2, int int3)- Specified by:
setByte
in classio.netty.buffer.ByteBuf
-
setShort
public io.netty.buffer.ByteBuf setShort(int int2, int int3)- Specified by:
setShort
in classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int int2, int int3)- Specified by:
setShortLE
in classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int int2, int int3)- Specified by:
setMedium
in classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int int2, int int3)- Specified by:
setMediumLE
in classio.netty.buffer.ByteBuf
-
setInt
public io.netty.buffer.ByteBuf setInt(int int2, int int3)- Specified by:
setInt
in classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int int2, int int3)- Specified by:
setIntLE
in classio.netty.buffer.ByteBuf
-
setLong
public io.netty.buffer.ByteBuf setLong(int int2, long long2)- Specified by:
setLong
in classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int int2, long long2)- Specified by:
setLongLE
in classio.netty.buffer.ByteBuf
-
setChar
public io.netty.buffer.ByteBuf setChar(int int2, int int3)- Specified by:
setChar
in classio.netty.buffer.ByteBuf
-
setFloat
public io.netty.buffer.ByteBuf setFloat(int int2, float float2)- Specified by:
setFloat
in classio.netty.buffer.ByteBuf
-
setDouble
public io.netty.buffer.ByteBuf setDouble(int int2, double double2)- Specified by:
setDouble
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, io.netty.buffer.ByteBuf byteBuf)- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3)- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, io.netty.buffer.ByteBuf byteBuf, int int3, int int4)- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, byte[] byte2)- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int int2, byte[] byte2, int int3, int int4)- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
setBytes
public int setBytes(int int2, ScatteringByteChannel scatteringByteChannel, int int3) throws IOException- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
setBytes
- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
setZero
public io.netty.buffer.ByteBuf setZero(int int2, int int3)- Specified by:
setZero
in classio.netty.buffer.ByteBuf
-
setCharSequence
- 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 int2)- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int int2)- Specified by:
readSlice
in classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int int2)- Specified by:
readRetainedSlice
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf byteBuf)- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf byteBuf, int int2)- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] byte2)- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] byte2, int int2, int int3)- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
- 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
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
skipBytes
public io.netty.buffer.ByteBuf skipBytes(int int2)- Specified by:
skipBytes
in classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean bool)- Specified by:
writeBoolean
in classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int int2)- Specified by:
writeByte
in classio.netty.buffer.ByteBuf
-
writeShort
public io.netty.buffer.ByteBuf writeShort(int int2)- Specified by:
writeShort
in classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int int2)- Specified by:
writeShortLE
in classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int int2)- Specified by:
writeMedium
in classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int int2)- Specified by:
writeMediumLE
in classio.netty.buffer.ByteBuf
-
writeInt
public io.netty.buffer.ByteBuf writeInt(int int2)- Specified by:
writeInt
in classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int int2)- Specified by:
writeIntLE
in classio.netty.buffer.ByteBuf
-
writeLong
public io.netty.buffer.ByteBuf writeLong(long long2)- Specified by:
writeLong
in classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long long2)- Specified by:
writeLongLE
in classio.netty.buffer.ByteBuf
-
writeChar
public io.netty.buffer.ByteBuf writeChar(int int2)- Specified by:
writeChar
in classio.netty.buffer.ByteBuf
-
writeFloat
public io.netty.buffer.ByteBuf writeFloat(float float2)- Specified by:
writeFloat
in classio.netty.buffer.ByteBuf
-
writeDouble
public io.netty.buffer.ByteBuf writeDouble(double double2)- Specified by:
writeDouble
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf byteBuf)- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf byteBuf, int int2)- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf byteBuf, int int2, int int3)- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] byte2)- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] byte2, int int2, int int3)- 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
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
writeZero
public io.netty.buffer.ByteBuf writeZero(int int2)- Specified by:
writeZero
in classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequence
in classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int int2, int int3, byte byte2)- Specified by:
indexOf
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte byte2)- Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int int2, byte byte2)- Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int int2, int int3, byte byte2)- Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor byteProcessor)- Specified by:
forEachByte
in classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)- Specified by:
forEachByte
in classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor byteProcessor)- Specified by:
forEachByteDesc
in classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(int int2, int int3, io.netty.util.ByteProcessor byteProcessor)- 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 int2, int int3)- 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 int2, int int3)- Specified by:
slice
in classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int int2, int int3)- 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 byteBuf)- 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 int2)- 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() -
release
public boolean release() -
release
public boolean release(int int2)
-