@Internal public class ByteBufDelegate extends io.netty.buffer.ByteBuf
Constructor and Description |
---|
ByteBufDelegate(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 value) |
int |
bytesBefore(int length,
byte value) |
int |
bytesBefore(int index,
int length,
byte value) |
int |
capacity() |
io.netty.buffer.ByteBuf |
capacity(int newCapacity) |
io.netty.buffer.ByteBuf |
clear() |
int |
compareTo(io.netty.buffer.ByteBuf buffer) |
io.netty.buffer.ByteBuf |
copy() |
io.netty.buffer.ByteBuf |
copy(int index,
int length) |
io.netty.buffer.ByteBuf |
discardReadBytes() |
io.netty.buffer.ByteBuf |
discardSomeReadBytes() |
io.netty.buffer.ByteBuf |
duplicate() |
io.netty.buffer.ByteBuf |
ensureWritable(int minWritableBytes) |
int |
ensureWritable(int minWritableBytes,
boolean force) |
boolean |
equals(java.lang.Object obj) |
int |
forEachByte(io.netty.util.ByteProcessor processor) |
int |
forEachByte(int index,
int length,
io.netty.util.ByteProcessor processor) |
int |
forEachByteDesc(io.netty.util.ByteProcessor processor) |
int |
forEachByteDesc(int index,
int length,
io.netty.util.ByteProcessor processor) |
boolean |
getBoolean(int index) |
byte |
getByte(int index) |
io.netty.buffer.ByteBuf |
getBytes(int index,
byte[] dst) |
io.netty.buffer.ByteBuf |
getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
io.netty.buffer.ByteBuf |
getBytes(int index,
io.netty.buffer.ByteBuf dst) |
io.netty.buffer.ByteBuf |
getBytes(int index,
java.nio.ByteBuffer dst) |
io.netty.buffer.ByteBuf |
getBytes(int index,
io.netty.buffer.ByteBuf dst,
int length) |
io.netty.buffer.ByteBuf |
getBytes(int index,
io.netty.buffer.ByteBuf dst,
int dstIndex,
int length) |
int |
getBytes(int index,
java.nio.channels.FileChannel out,
long position,
int length) |
int |
getBytes(int index,
java.nio.channels.GatheringByteChannel out,
int length) |
io.netty.buffer.ByteBuf |
getBytes(int index,
java.io.OutputStream out,
int length) |
char |
getChar(int index) |
java.lang.CharSequence |
getCharSequence(int index,
int length,
java.nio.charset.Charset charset) |
double |
getDouble(int index) |
float |
getFloat(int index) |
int |
getInt(int index) |
int |
getIntLE(int index) |
long |
getLong(int index) |
long |
getLongLE(int index) |
int |
getMedium(int index) |
int |
getMediumLE(int index) |
short |
getShort(int index) |
short |
getShortLE(int index) |
short |
getUnsignedByte(int index) |
long |
getUnsignedInt(int index) |
long |
getUnsignedIntLE(int index) |
int |
getUnsignedMedium(int index) |
int |
getUnsignedMediumLE(int index) |
int |
getUnsignedShort(int index) |
int |
getUnsignedShortLE(int index) |
boolean |
hasArray() |
int |
hashCode() |
boolean |
hasMemoryAddress() |
int |
indexOf(int fromIndex,
int toIndex,
byte value) |
java.nio.ByteBuffer |
internalNioBuffer(int index,
int length) |
boolean |
isDirect() |
boolean |
isReadable() |
boolean |
isReadable(int size) |
boolean |
isReadOnly() |
boolean |
isWritable() |
boolean |
isWritable(int size) |
io.netty.buffer.ByteBuf |
markReaderIndex() |
io.netty.buffer.ByteBuf |
markWriterIndex() |
int |
maxCapacity() |
int |
maxWritableBytes() |
long |
memoryAddress() |
java.nio.ByteBuffer |
nioBuffer() |
java.nio.ByteBuffer |
nioBuffer(int index,
int length) |
int |
nioBufferCount() |
java.nio.ByteBuffer[] |
nioBuffers() |
java.nio.ByteBuffer[] |
nioBuffers(int index,
int length) |
java.nio.ByteOrder |
order()
Deprecated.
|
io.netty.buffer.ByteBuf |
order(java.nio.ByteOrder endianness)
Deprecated.
|
int |
readableBytes() |
boolean |
readBoolean() |
byte |
readByte() |
io.netty.buffer.ByteBuf |
readBytes(byte[] dst) |
io.netty.buffer.ByteBuf |
readBytes(byte[] dst,
int dstIndex,
int length) |
io.netty.buffer.ByteBuf |
readBytes(io.netty.buffer.ByteBuf dst) |
io.netty.buffer.ByteBuf |
readBytes(java.nio.ByteBuffer dst) |
io.netty.buffer.ByteBuf |
readBytes(io.netty.buffer.ByteBuf dst,
int length) |
io.netty.buffer.ByteBuf |
readBytes(io.netty.buffer.ByteBuf dst,
int dstIndex,
int length) |
int |
readBytes(java.nio.channels.FileChannel out,
long position,
int length) |
int |
readBytes(java.nio.channels.GatheringByteChannel out,
int length) |
io.netty.buffer.ByteBuf |
readBytes(int length) |
io.netty.buffer.ByteBuf |
readBytes(java.io.OutputStream out,
int length) |
char |
readChar() |
java.lang.CharSequence |
readCharSequence(int length,
java.nio.charset.Charset charset) |
double |
readDouble() |
int |
readerIndex() |
io.netty.buffer.ByteBuf |
readerIndex(int readerIndex) |
float |
readFloat() |
int |
readInt() |
int |
readIntLE() |
long |
readLong() |
long |
readLongLE() |
int |
readMedium() |
int |
readMediumLE() |
io.netty.buffer.ByteBuf |
readRetainedSlice(int length) |
short |
readShort() |
short |
readShortLE() |
io.netty.buffer.ByteBuf |
readSlice(int length) |
short |
readUnsignedByte() |
long |
readUnsignedInt() |
long |
readUnsignedIntLE() |
int |
readUnsignedMedium() |
int |
readUnsignedMediumLE() |
int |
readUnsignedShort() |
int |
readUnsignedShortLE() |
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
io.netty.buffer.ByteBuf |
resetReaderIndex() |
io.netty.buffer.ByteBuf |
resetWriterIndex() |
io.netty.buffer.ByteBuf |
retain() |
io.netty.buffer.ByteBuf |
retain(int increment) |
io.netty.buffer.ByteBuf |
retainedDuplicate() |
io.netty.buffer.ByteBuf |
retainedSlice() |
io.netty.buffer.ByteBuf |
retainedSlice(int index,
int length) |
io.netty.buffer.ByteBuf |
setBoolean(int index,
boolean value) |
io.netty.buffer.ByteBuf |
setByte(int index,
int value) |
io.netty.buffer.ByteBuf |
setBytes(int index,
byte[] src) |
io.netty.buffer.ByteBuf |
setBytes(int index,
byte[] src,
int srcIndex,
int length) |
io.netty.buffer.ByteBuf |
setBytes(int index,
io.netty.buffer.ByteBuf src) |
io.netty.buffer.ByteBuf |
setBytes(int index,
java.nio.ByteBuffer src) |
io.netty.buffer.ByteBuf |
setBytes(int index,
io.netty.buffer.ByteBuf src,
int length) |
io.netty.buffer.ByteBuf |
setBytes(int index,
io.netty.buffer.ByteBuf src,
int srcIndex,
int length) |
int |
setBytes(int index,
java.nio.channels.FileChannel in,
long position,
int length) |
int |
setBytes(int index,
java.io.InputStream in,
int length) |
int |
setBytes(int index,
java.nio.channels.ScatteringByteChannel in,
int length) |
io.netty.buffer.ByteBuf |
setChar(int index,
int value) |
int |
setCharSequence(int index,
java.lang.CharSequence sequence,
java.nio.charset.Charset charset) |
io.netty.buffer.ByteBuf |
setDouble(int index,
double value) |
io.netty.buffer.ByteBuf |
setFloat(int index,
float value) |
io.netty.buffer.ByteBuf |
setIndex(int readerIndex,
int writerIndex) |
io.netty.buffer.ByteBuf |
setInt(int index,
int value) |
io.netty.buffer.ByteBuf |
setIntLE(int index,
int value) |
io.netty.buffer.ByteBuf |
setLong(int index,
long value) |
io.netty.buffer.ByteBuf |
setLongLE(int index,
long value) |
io.netty.buffer.ByteBuf |
setMedium(int index,
int value) |
io.netty.buffer.ByteBuf |
setMediumLE(int index,
int value) |
io.netty.buffer.ByteBuf |
setShort(int index,
int value) |
io.netty.buffer.ByteBuf |
setShortLE(int index,
int value) |
io.netty.buffer.ByteBuf |
setZero(int index,
int length) |
io.netty.buffer.ByteBuf |
skipBytes(int length) |
io.netty.buffer.ByteBuf |
slice() |
io.netty.buffer.ByteBuf |
slice(int index,
int length) |
java.lang.String |
toString() |
java.lang.String |
toString(java.nio.charset.Charset charset) |
java.lang.String |
toString(int index,
int length,
java.nio.charset.Charset charset) |
io.netty.buffer.ByteBuf |
touch() |
io.netty.buffer.ByteBuf |
touch(java.lang.Object hint) |
io.netty.buffer.ByteBuf |
unwrap() |
int |
writableBytes() |
io.netty.buffer.ByteBuf |
writeBoolean(boolean value) |
io.netty.buffer.ByteBuf |
writeByte(int value) |
io.netty.buffer.ByteBuf |
writeBytes(byte[] src) |
io.netty.buffer.ByteBuf |
writeBytes(byte[] src,
int srcIndex,
int length) |
io.netty.buffer.ByteBuf |
writeBytes(io.netty.buffer.ByteBuf src) |
io.netty.buffer.ByteBuf |
writeBytes(java.nio.ByteBuffer src) |
io.netty.buffer.ByteBuf |
writeBytes(io.netty.buffer.ByteBuf src,
int length) |
io.netty.buffer.ByteBuf |
writeBytes(io.netty.buffer.ByteBuf src,
int srcIndex,
int length) |
int |
writeBytes(java.nio.channels.FileChannel in,
long position,
int length) |
int |
writeBytes(java.io.InputStream in,
int length) |
int |
writeBytes(java.nio.channels.ScatteringByteChannel in,
int length) |
io.netty.buffer.ByteBuf |
writeChar(int value) |
int |
writeCharSequence(java.lang.CharSequence sequence,
java.nio.charset.Charset charset) |
io.netty.buffer.ByteBuf |
writeDouble(double value) |
io.netty.buffer.ByteBuf |
writeFloat(float value) |
io.netty.buffer.ByteBuf |
writeInt(int value) |
io.netty.buffer.ByteBuf |
writeIntLE(int value) |
io.netty.buffer.ByteBuf |
writeLong(long value) |
io.netty.buffer.ByteBuf |
writeLongLE(long value) |
io.netty.buffer.ByteBuf |
writeMedium(int value) |
io.netty.buffer.ByteBuf |
writeMediumLE(int value) |
int |
writerIndex() |
io.netty.buffer.ByteBuf |
writerIndex(int writerIndex) |
io.netty.buffer.ByteBuf |
writeShort(int value) |
io.netty.buffer.ByteBuf |
writeShortLE(int value) |
io.netty.buffer.ByteBuf |
writeZero(int length) |
public ByteBufDelegate(io.netty.buffer.ByteBuf byteBuf)
byteBuf
- The buffer to delegate topublic final boolean hasMemoryAddress()
hasMemoryAddress
in class io.netty.buffer.ByteBuf
public final long memoryAddress()
memoryAddress
in class io.netty.buffer.ByteBuf
public final int capacity()
capacity
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf capacity(int newCapacity)
capacity
in class io.netty.buffer.ByteBuf
public final int maxCapacity()
maxCapacity
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBufAllocator alloc()
alloc
in class io.netty.buffer.ByteBuf
@Deprecated public final java.nio.ByteOrder order()
order
in class io.netty.buffer.ByteBuf
@Deprecated public io.netty.buffer.ByteBuf order(java.nio.ByteOrder endianness)
order
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBuf unwrap()
unwrap
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf asReadOnly()
asReadOnly
in class io.netty.buffer.ByteBuf
public boolean isReadOnly()
isReadOnly
in class io.netty.buffer.ByteBuf
public final boolean isDirect()
isDirect
in class io.netty.buffer.ByteBuf
public final int readerIndex()
readerIndex
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBuf readerIndex(int readerIndex)
readerIndex
in class io.netty.buffer.ByteBuf
public final int writerIndex()
writerIndex
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBuf writerIndex(int writerIndex)
writerIndex
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setIndex(int readerIndex, int writerIndex)
setIndex
in class io.netty.buffer.ByteBuf
public final int readableBytes()
readableBytes
in class io.netty.buffer.ByteBuf
public final int writableBytes()
writableBytes
in class io.netty.buffer.ByteBuf
public final int maxWritableBytes()
maxWritableBytes
in class io.netty.buffer.ByteBuf
public final boolean isReadable()
isReadable
in class io.netty.buffer.ByteBuf
public final boolean isWritable()
isWritable
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBuf clear()
clear
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBuf markReaderIndex()
markReaderIndex
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBuf resetReaderIndex()
resetReaderIndex
in class io.netty.buffer.ByteBuf
public final io.netty.buffer.ByteBuf markWriterIndex()
markWriterIndex
in class io.netty.buffer.ByteBuf
public final 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 minWritableBytes)
ensureWritable
in class io.netty.buffer.ByteBuf
public int ensureWritable(int minWritableBytes, boolean force)
ensureWritable
in class io.netty.buffer.ByteBuf
public boolean getBoolean(int index)
getBoolean
in class io.netty.buffer.ByteBuf
public byte getByte(int index)
getByte
in class io.netty.buffer.ByteBuf
public short getUnsignedByte(int index)
getUnsignedByte
in class io.netty.buffer.ByteBuf
public short getShort(int index)
getShort
in class io.netty.buffer.ByteBuf
public short getShortLE(int index)
getShortLE
in class io.netty.buffer.ByteBuf
public int getUnsignedShort(int index)
getUnsignedShort
in class io.netty.buffer.ByteBuf
public int getUnsignedShortLE(int index)
getUnsignedShortLE
in class io.netty.buffer.ByteBuf
public int getMedium(int index)
getMedium
in class io.netty.buffer.ByteBuf
public int getMediumLE(int index)
getMediumLE
in class io.netty.buffer.ByteBuf
public int getUnsignedMedium(int index)
getUnsignedMedium
in class io.netty.buffer.ByteBuf
public int getUnsignedMediumLE(int index)
getUnsignedMediumLE
in class io.netty.buffer.ByteBuf
public int getInt(int index)
getInt
in class io.netty.buffer.ByteBuf
public int getIntLE(int index)
getIntLE
in class io.netty.buffer.ByteBuf
public long getUnsignedInt(int index)
getUnsignedInt
in class io.netty.buffer.ByteBuf
public long getUnsignedIntLE(int index)
getUnsignedIntLE
in class io.netty.buffer.ByteBuf
public long getLong(int index)
getLong
in class io.netty.buffer.ByteBuf
public long getLongLE(int index)
getLongLE
in class io.netty.buffer.ByteBuf
public char getChar(int index)
getChar
in class io.netty.buffer.ByteBuf
public float getFloat(int index)
getFloat
in class io.netty.buffer.ByteBuf
public double getDouble(int index)
getDouble
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf getBytes(int index, io.netty.buffer.ByteBuf dst)
getBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf getBytes(int index, io.netty.buffer.ByteBuf dst, int length)
getBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf getBytes(int index, io.netty.buffer.ByteBuf dst, int dstIndex, int length)
getBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf getBytes(int index, byte[] dst)
getBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf getBytes(int index, byte[] dst, int dstIndex, int length)
getBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf getBytes(int index, java.nio.ByteBuffer dst)
getBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf getBytes(int index, java.io.OutputStream out, int length) throws java.io.IOException
getBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int getBytes(int index, java.nio.channels.GatheringByteChannel out, int length) throws java.io.IOException
getBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int getBytes(int index, java.nio.channels.FileChannel out, long position, int length) throws java.io.IOException
getBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public java.lang.CharSequence getCharSequence(int index, int length, java.nio.charset.Charset charset)
getCharSequence
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setBoolean(int index, boolean value)
setBoolean
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setByte(int index, int value)
setByte
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setShort(int index, int value)
setShort
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setShortLE(int index, int value)
setShortLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setMedium(int index, int value)
setMedium
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setMediumLE(int index, int value)
setMediumLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setInt(int index, int value)
setInt
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setIntLE(int index, int value)
setIntLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setLong(int index, long value)
setLong
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setLongLE(int index, long value)
setLongLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setChar(int index, int value)
setChar
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setFloat(int index, float value)
setFloat
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setDouble(int index, double value)
setDouble
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setBytes(int index, io.netty.buffer.ByteBuf src)
setBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setBytes(int index, io.netty.buffer.ByteBuf src, int length)
setBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setBytes(int index, io.netty.buffer.ByteBuf src, int srcIndex, int length)
setBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setBytes(int index, byte[] src)
setBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setBytes(int index, byte[] src, int srcIndex, int length)
setBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf setBytes(int index, java.nio.ByteBuffer src)
setBytes
in class io.netty.buffer.ByteBuf
public int setBytes(int index, java.io.InputStream in, int length) throws java.io.IOException
setBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int setBytes(int index, java.nio.channels.ScatteringByteChannel in, int length) throws java.io.IOException
setBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int setBytes(int index, java.nio.channels.FileChannel in, long position, int length) throws java.io.IOException
setBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public io.netty.buffer.ByteBuf setZero(int index, int length)
setZero
in class io.netty.buffer.ByteBuf
public int setCharSequence(int index, java.lang.CharSequence sequence, java.nio.charset.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 length)
readBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readSlice(int length)
readSlice
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readRetainedSlice(int length)
readRetainedSlice
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf dst)
readBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf dst, int length)
readBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf dst, int dstIndex, int length)
readBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readBytes(byte[] dst)
readBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readBytes(byte[] dst, int dstIndex, int length)
readBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readBytes(java.nio.ByteBuffer dst)
readBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf readBytes(java.io.OutputStream out, int length) throws java.io.IOException
readBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int readBytes(java.nio.channels.GatheringByteChannel out, int length) throws java.io.IOException
readBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int readBytes(java.nio.channels.FileChannel out, long position, int length) throws java.io.IOException
readBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public java.lang.CharSequence readCharSequence(int length, java.nio.charset.Charset charset)
readCharSequence
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf skipBytes(int length)
skipBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeBoolean(boolean value)
writeBoolean
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeByte(int value)
writeByte
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeShort(int value)
writeShort
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeShortLE(int value)
writeShortLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeMedium(int value)
writeMedium
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeMediumLE(int value)
writeMediumLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeInt(int value)
writeInt
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeIntLE(int value)
writeIntLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeLong(long value)
writeLong
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeLongLE(long value)
writeLongLE
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeChar(int value)
writeChar
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeFloat(float value)
writeFloat
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeDouble(double value)
writeDouble
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf src)
writeBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf src, int length)
writeBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf src, int srcIndex, int length)
writeBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeBytes(byte[] src)
writeBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeBytes(byte[] src, int srcIndex, int length)
writeBytes
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf writeBytes(java.nio.ByteBuffer src)
writeBytes
in class io.netty.buffer.ByteBuf
public int writeBytes(java.io.InputStream in, int length) throws java.io.IOException
writeBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int writeBytes(java.nio.channels.ScatteringByteChannel in, int length) throws java.io.IOException
writeBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public int writeBytes(java.nio.channels.FileChannel in, long position, int length) throws java.io.IOException
writeBytes
in class io.netty.buffer.ByteBuf
java.io.IOException
public io.netty.buffer.ByteBuf writeZero(int length)
writeZero
in class io.netty.buffer.ByteBuf
public int writeCharSequence(java.lang.CharSequence sequence, java.nio.charset.Charset charset)
writeCharSequence
in class io.netty.buffer.ByteBuf
public int indexOf(int fromIndex, int toIndex, byte value)
indexOf
in class io.netty.buffer.ByteBuf
public int bytesBefore(byte value)
bytesBefore
in class io.netty.buffer.ByteBuf
public int bytesBefore(int length, byte value)
bytesBefore
in class io.netty.buffer.ByteBuf
public int bytesBefore(int index, int length, byte value)
bytesBefore
in class io.netty.buffer.ByteBuf
public int forEachByte(io.netty.util.ByteProcessor processor)
forEachByte
in class io.netty.buffer.ByteBuf
public int forEachByte(int index, int length, io.netty.util.ByteProcessor processor)
forEachByte
in class io.netty.buffer.ByteBuf
public int forEachByteDesc(io.netty.util.ByteProcessor processor)
forEachByteDesc
in class io.netty.buffer.ByteBuf
public int forEachByteDesc(int index, int length, io.netty.util.ByteProcessor processor)
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 index, int length)
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 index, int length)
slice
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf retainedSlice(int index, int length)
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 java.nio.ByteBuffer nioBuffer()
nioBuffer
in class io.netty.buffer.ByteBuf
public java.nio.ByteBuffer nioBuffer(int index, int length)
nioBuffer
in class io.netty.buffer.ByteBuf
public java.nio.ByteBuffer[] nioBuffers()
nioBuffers
in class io.netty.buffer.ByteBuf
public java.nio.ByteBuffer[] nioBuffers(int index, int length)
nioBuffers
in class io.netty.buffer.ByteBuf
public java.nio.ByteBuffer internalNioBuffer(int index, int length)
internalNioBuffer
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 java.lang.String toString(java.nio.charset.Charset charset)
toString
in class io.netty.buffer.ByteBuf
public java.lang.String toString(int index, int length, java.nio.charset.Charset charset)
toString
in class io.netty.buffer.ByteBuf
public int hashCode()
hashCode
in class io.netty.buffer.ByteBuf
public boolean equals(java.lang.Object obj)
equals
in class io.netty.buffer.ByteBuf
public int compareTo(io.netty.buffer.ByteBuf buffer)
compareTo
in interface java.lang.Comparable<io.netty.buffer.ByteBuf>
compareTo
in class io.netty.buffer.ByteBuf
public java.lang.String toString()
toString
in class io.netty.buffer.ByteBuf
public io.netty.buffer.ByteBuf retain(int increment)
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(java.lang.Object hint)
touch
in interface io.netty.util.ReferenceCounted
touch
in class io.netty.buffer.ByteBuf
public final boolean isReadable(int size)
isReadable
in class io.netty.buffer.ByteBuf
public final boolean isWritable(int size)
isWritable
in class io.netty.buffer.ByteBuf
public final int refCnt()
public boolean release()
public boolean release(int decrement)