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