AbstractUnpooledSlicedByteBuf

Undocumented in source.
abstract
class AbstractUnpooledSlicedByteBuf : AbstractByteBuf {}

Constructors

this
this(ByteBuf buffer, int index, int length)
Undocumented in source.

Members

Aliases

capacity
alias capacity = ByteBuf.capacity
Undocumented in source.

Functions

_getByte
byte _getByte(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getInt
int _getInt(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getIntLE
int _getIntLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getLong
long _getLong(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getLongLE
long _getLongLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getShort
short _getShort(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getShortLE
short _getShortLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getUnsignedMedium
int _getUnsignedMedium(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getUnsignedMediumLE
int _getUnsignedMediumLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_setByte
void _setByte(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setInt
void _setInt(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setIntLE
void _setIntLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setLong
void _setLong(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setLongLE
void _setLongLE(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setMedium
void _setMedium(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setMediumLE
void _setMediumLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setShort
void _setShort(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setShortLE
void _setShortLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
alloc
ByteBufAllocator alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
array
byte[] array()
Undocumented in source. Be warned that the author may not have intended to support it.
arrayOffset
int arrayOffset()
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
ByteBuf capacity(int newCapacity)
Undocumented in source. Be warned that the author may not have intended to support it.
copy
ByteBuf copy(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
duplicate
ByteBuf duplicate()
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByte
int forEachByte(int index, int length, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByteDesc
int forEachByteDesc(int index, int length, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
getByte
byte getByte(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, ByteBuf dst, int dstIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, byte[] dst, int dstIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, ByteBuffer dst)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, OutputStream output, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getInt
int getInt(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getIntLE
int getIntLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getLong
long getLong(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getLongLE
long getLongLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getShort
short getShort(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getShortLE
short getShortLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedMedium
int getUnsignedMedium(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedMediumLE
int getUnsignedMediumLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
hasArray
bool hasArray()
Undocumented in source. Be warned that the author may not have intended to support it.
hasMemoryAddress
bool hasMemoryAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
idx
int idx(int index)

Returns the index with the needed adjustment.

initLength
void initLength(int length)

Called by the constructor before {@link #writerIndex(int)}. @param length the {@code length} argument from the constructor.

internalNioBuffer
ByteBuffer internalNioBuffer(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
isDirect
bool isDirect()
Undocumented in source. Be warned that the author may not have intended to support it.
length
int length()
Undocumented in source. Be warned that the author may not have intended to support it.
memoryAddress
long memoryAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
nioBuffer
ByteBuffer nioBuffer(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
nioBufferCount
int nioBufferCount()
Undocumented in source. Be warned that the author may not have intended to support it.
nioBuffers
ByteBuffer[] nioBuffers(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
order
ByteOrder order()
Undocumented in source. Be warned that the author may not have intended to support it.
refCnt
int refCnt()
Undocumented in source. Be warned that the author may not have intended to support it.
refCnt0
int refCnt0()
Undocumented in source. Be warned that the author may not have intended to support it.
release
bool release()
Undocumented in source. Be warned that the author may not have intended to support it.
release
bool release(int decrement)
Undocumented in source. Be warned that the author may not have intended to support it.
release0
bool release0()
Undocumented in source. Be warned that the author may not have intended to support it.
release0
bool release0(int decrement)
Undocumented in source. Be warned that the author may not have intended to support it.
retain
ByteBuf retain()
Undocumented in source. Be warned that the author may not have intended to support it.
retain
ByteBuf retain(int increment)
Undocumented in source. Be warned that the author may not have intended to support it.
retain0
ByteBuf retain0()
Undocumented in source. Be warned that the author may not have intended to support it.
retain0
ByteBuf retain0(int increment)
Undocumented in source. Be warned that the author may not have intended to support it.
setByte
ByteBuf setByte(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, byte[] src, int srcIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, ByteBuf src, int srcIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, ByteBuffer src)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
int setBytes(int index, InputStream input, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setInt
ByteBuf setInt(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntLE
ByteBuf setIntLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setLong
ByteBuf setLong(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
setLongLE
ByteBuf setLongLE(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
setMedium
ByteBuf setMedium(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setMediumLE
ByteBuf setMediumLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setShort
ByteBuf setShort(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setShortLE
ByteBuf setShortLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
slice
ByteBuf slice(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
touch
ByteBuf touch()
Undocumented in source. Be warned that the author may not have intended to support it.
touch
ByteBuf touch(Object hint)
Undocumented in source. Be warned that the author may not have intended to support it.
touch0
ByteBuf touch0()
Undocumented in source. Be warned that the author may not have intended to support it.
touch0
ByteBuf touch0(Object hint)
Undocumented in source. Be warned that the author may not have intended to support it.
unwrap
ByteBuf unwrap()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

checkSliceOutOfBounds
void checkSliceOutOfBounds(int index, int length, ByteBuf buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From AbstractByteBuf

checkAccessible
enum bool checkAccessible;
Undocumented in source.
_readerIndex
int _readerIndex;
Undocumented in source.
_writerIndex
int _writerIndex;
Undocumented in source.
setBytes
alias setBytes = ByteBuf.setBytes
Undocumented in source.
getBytes
alias getBytes = ByteBuf.getBytes
Undocumented in source.
isReadOnly
bool isReadOnly()
Undocumented in source. Be warned that the author may not have intended to support it.
asReadOnly
ByteBuf asReadOnly()
Undocumented in source. Be warned that the author may not have intended to support it.
maxCapacity
int maxCapacity()
Undocumented in source. Be warned that the author may not have intended to support it.
maxCapacity
void maxCapacity(int v)
Undocumented in source. Be warned that the author may not have intended to support it.
readerIndex
int readerIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
readerIndex
ByteBuf readerIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
writerIndex
int writerIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
writerIndex
ByteBuf writerIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
setIndex
ByteBuf setIndex(int rIndex, int wIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
ByteBuf clear()
Undocumented in source. Be warned that the author may not have intended to support it.
isReadable
bool isReadable()
Undocumented in source. Be warned that the author may not have intended to support it.
isReadable
bool isReadable(int numBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
isWritable
bool isWritable()
Undocumented in source. Be warned that the author may not have intended to support it.
isWritable
bool isWritable(int numBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
readableBytes
int readableBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
writableBytes
int writableBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
maxWritableBytes
int maxWritableBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
markReaderIndex
ByteBuf markReaderIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
resetReaderIndex
ByteBuf resetReaderIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
markWriterIndex
ByteBuf markWriterIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
resetWriterIndex
ByteBuf resetWriterIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
discardReadBytes
ByteBuf discardReadBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
discardSomeReadBytes
ByteBuf discardSomeReadBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
adjustMarkers
void adjustMarkers(int decrement)
Undocumented in source. Be warned that the author may not have intended to support it.
ensureWritable
ByteBuf ensureWritable(int minWritableBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
ensureWritable0
void ensureWritable0(int minWritableBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
ensureWritable
int ensureWritable(int minWritableBytes, bool force)
Undocumented in source. Be warned that the author may not have intended to support it.
getByte
byte getByte(int index)

Creates a new {@link SwappedByteBuf} for this {@link ByteBuf} instance.

_getByte
byte _getByte(int index)
Undocumented in source.
getBoolean
bool getBoolean(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedByte
short getUnsignedByte(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getShort
short getShort(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getShort
short _getShort(int index)
Undocumented in source.
getShortLE
short getShortLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getShortLE
short _getShortLE(int index)
Undocumented in source.
getUnsignedShort
int getUnsignedShort(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedShortLE
int getUnsignedShortLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedMedium
int getUnsignedMedium(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getUnsignedMedium
int _getUnsignedMedium(int index)
Undocumented in source.
getUnsignedMediumLE
int getUnsignedMediumLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getUnsignedMediumLE
int _getUnsignedMediumLE(int index)
Undocumented in source.
getMedium
int getMedium(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getMediumLE
int getMediumLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getInt
int getInt(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getInt
int _getInt(int index)
Undocumented in source.
getIntLE
int getIntLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getIntLE
int _getIntLE(int index)
Undocumented in source.
getUnsignedInt
long getUnsignedInt(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnsignedIntLE
long getUnsignedIntLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getLong
long getLong(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getLong
long _getLong(int index)
Undocumented in source.
getLongLE
long getLongLE(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
_getLongLE
long _getLongLE(int index)
Undocumented in source.
getChar
char getChar(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloat
float getFloat(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getDouble
double getDouble(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, byte[] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, ByteBuf dst)
Undocumented in source. Be warned that the author may not have intended to support it.
getBytes
ByteBuf getBytes(int index, ByteBuf dst, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getCharSequence
string getCharSequence(int index, int length, Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
readCharSequence
string readCharSequence(int length, Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
setByte
ByteBuf setByte(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setByte
void _setByte(int index, int value)
Undocumented in source.
setBoolean
ByteBuf setBoolean(int index, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setShort
ByteBuf setShort(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setShort
void _setShort(int index, int value)
Undocumented in source.
setShortLE
ByteBuf setShortLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setShortLE
void _setShortLE(int index, int value)
Undocumented in source.
setChar
ByteBuf setChar(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setMedium
ByteBuf setMedium(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setMedium
void _setMedium(int index, int value)
Undocumented in source.
setMediumLE
ByteBuf setMediumLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setMediumLE
void _setMediumLE(int index, int value)
Undocumented in source.
setInt
ByteBuf setInt(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setInt
void _setInt(int index, int value)
Undocumented in source.
setIntLE
ByteBuf setIntLE(int index, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setIntLE
void _setIntLE(int index, int value)
Undocumented in source.
setFloat
ByteBuf setFloat(int index, float value)
Undocumented in source. Be warned that the author may not have intended to support it.
setLong
ByteBuf setLong(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setLong
void _setLong(int index, long value)
Undocumented in source.
setLongLE
ByteBuf setLongLE(int index, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
_setLongLE
void _setLongLE(int index, long value)
Undocumented in source.
setDouble
ByteBuf setDouble(int index, double value)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, byte[] src)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, ByteBuf src)
Undocumented in source. Be warned that the author may not have intended to support it.
setBytes
ByteBuf setBytes(int index, ByteBuf src, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setZero
ByteBuf setZero(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
setCharSequence
int setCharSequence(int index, CharSequence sequence, Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
readByte
byte readByte()
Undocumented in source. Be warned that the author may not have intended to support it.
readBoolean
bool readBoolean()
Undocumented in source. Be warned that the author may not have intended to support it.
readUnsignedByte
short readUnsignedByte()
Undocumented in source. Be warned that the author may not have intended to support it.
readShort
short readShort()
Undocumented in source. Be warned that the author may not have intended to support it.
readShortLE
short readShortLE()
Undocumented in source. Be warned that the author may not have intended to support it.
readUnsignedShort
int readUnsignedShort()
Undocumented in source. Be warned that the author may not have intended to support it.
readUnsignedShortLE
int readUnsignedShortLE()
Undocumented in source. Be warned that the author may not have intended to support it.
readMedium
int readMedium()
Undocumented in source. Be warned that the author may not have intended to support it.
readMediumLE
int readMediumLE()
Undocumented in source. Be warned that the author may not have intended to support it.
readUnsignedMedium
int readUnsignedMedium()
Undocumented in source. Be warned that the author may not have intended to support it.
readUnsignedMediumLE
int readUnsignedMediumLE()
Undocumented in source. Be warned that the author may not have intended to support it.
readInt
int readInt()
Undocumented in source. Be warned that the author may not have intended to support it.
readIntLE
int readIntLE()
Undocumented in source. Be warned that the author may not have intended to support it.
readUnsignedInt
long readUnsignedInt()
Undocumented in source. Be warned that the author may not have intended to support it.
readUnsignedIntLE
long readUnsignedIntLE()
Undocumented in source. Be warned that the author may not have intended to support it.
readLong
long readLong()
Undocumented in source. Be warned that the author may not have intended to support it.
readLongLE
long readLongLE()
Undocumented in source. Be warned that the author may not have intended to support it.
readChar
char readChar()
Undocumented in source. Be warned that the author may not have intended to support it.
readFloat
float readFloat()
Undocumented in source. Be warned that the author may not have intended to support it.
readDouble
double readDouble()
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(int length)
Undocumented in source. Be warned that the author may not have intended to support it.
readSlice
ByteBuf readSlice(int length)
Undocumented in source. Be warned that the author may not have intended to support it.
readRetainedSlice
ByteBuf readRetainedSlice(int length)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(byte[] dst, int dstIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(byte[] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(ByteBuf dst)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(ByteBuf dst, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(ByteBuf dst, int dstIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(ByteBuffer dst)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytes
ByteBuf readBytes(OutputStream outStream, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
skipBytes
ByteBuf skipBytes(int length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBoolean
ByteBuf writeBoolean(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeByte
ByteBuf writeByte(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeShort
ByteBuf writeShort(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeShortLE
ByteBuf writeShortLE(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeMedium
ByteBuf writeMedium(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeMediumLE
ByteBuf writeMediumLE(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeInt
ByteBuf writeInt(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeIntLE
ByteBuf writeIntLE(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeLong
ByteBuf writeLong(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeLongLE
ByteBuf writeLongLE(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeChar
ByteBuf writeChar(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFloat
ByteBuf writeFloat(float value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeDouble
ByteBuf writeDouble(double value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
ByteBuf writeBytes(byte[] src, int srcIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
ByteBuf writeBytes(byte[] src)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
ByteBuf writeBytes(ByteBuf src)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
ByteBuf writeBytes(ByteBuf src, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
ByteBuf writeBytes(ByteBuf src, int srcIndex, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
ByteBuf writeBytes(ByteBuffer src)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytes
int writeBytes(InputStream inStream, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeZero
ByteBuf writeZero(int length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeCharSequence
int writeCharSequence(CharSequence sequence, Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
copy
ByteBuf copy()
Undocumented in source. Be warned that the author may not have intended to support it.
copy
alias copy = ByteBuf.copy
Undocumented in source.
duplicate
ByteBuf duplicate()
Undocumented in source. Be warned that the author may not have intended to support it.
retainedDuplicate
ByteBuf retainedDuplicate()
Undocumented in source. Be warned that the author may not have intended to support it.
slice
ByteBuf slice()
Undocumented in source. Be warned that the author may not have intended to support it.
retainedSlice
ByteBuf retainedSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
slice
ByteBuf slice(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
retainedSlice
ByteBuf retainedSlice(int index, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
getReadableBytes
byte[] getReadableBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
nioBuffer
ByteBuffer nioBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
nioBuffer
alias nioBuffer = ByteBuf.nioBuffer
Undocumented in source.
nioBuffers
alias nioBuffers = ByteBuf.nioBuffers
Undocumented in source.
nioBuffers
ByteBuffer[] nioBuffers()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(int index, int length, Charset charset)
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
int indexOf(int fromIndex, int toIndex, byte value)
Undocumented in source. Be warned that the author may not have intended to support it.
bytesBefore
int bytesBefore(byte value)
Undocumented in source. Be warned that the author may not have intended to support it.
bytesBefore
int bytesBefore(int length, byte value)
Undocumented in source. Be warned that the author may not have intended to support it.
bytesBefore
int bytesBefore(int index, int length, byte value)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByte
int forEachByte(ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByte
int forEachByte(int index, int length, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByteAsc0
int forEachByteAsc0(int start, int end, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByteDesc
int forEachByteDesc(ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByteDesc
int forEachByteDesc(int index, int length, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
forEachByteDesc0
int forEachByteDesc0(int rStart, int rEnd, ByteProcessor processor)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
compareTo
int compareTo(ByteBuf that)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
checkIndex
void checkIndex(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
checkIndex
void checkIndex(int index, int fieldLength)
Undocumented in source. Be warned that the author may not have intended to support it.
checkIndex0
void checkIndex0(int index, int fieldLength)
Undocumented in source. Be warned that the author may not have intended to support it.
checkSrcIndex
void checkSrcIndex(int index, int length, int srcIndex, int srcCapacity)
Undocumented in source. Be warned that the author may not have intended to support it.
checkDstIndex
void checkDstIndex(int index, int length, int dstIndex, int dstCapacity)
Undocumented in source. Be warned that the author may not have intended to support it.
checkDstIndex
void checkDstIndex(int length, int dstIndex, int dstCapacity)
Undocumented in source. Be warned that the author may not have intended to support it.
checkReadableBytes
void checkReadableBytes(int minimumReadableBytes)

{@link IndexOutOfBoundsException} if the current {@linkplain #readableBytes() readable bytes} of this buffer is less than the specified value.

checkNewCapacity
void checkNewCapacity(int newCapacity)
Undocumented in source. Be warned that the author may not have intended to support it.
ensureAccessible
void ensureAccessible()

Should be called by every method that tries to access the buffers content to check if the buffer was released before.

setIndex0
void setIndex0(int rIndex, int wIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
discardMarks
void discardMarks()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta