Package io.micronaut.http.server.netty
Class ByteBufDelegate
java.lang.Object
io.netty.buffer.ByteBuf
io.micronaut.http.server.netty.ByteBufDelegate
- All Implemented Interfaces:
io.netty.buffer.ByteBufConvertible,io.netty.util.ReferenceCounted,Comparable<io.netty.buffer.ByteBuf>
Delegates all functionality to the provided buffer.
- Since:
- 1.1.0
- Author:
- James Kleeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.netty.buffer.ByteBufAllocatoralloc()byte[]array()intio.netty.buffer.ByteBufintbytesBefore(byte value) intbytesBefore(int length, byte value) intbytesBefore(int index, int length, byte value) final intcapacity()io.netty.buffer.ByteBufcapacity(int newCapacity) final io.netty.buffer.ByteBufclear()intcompareTo(io.netty.buffer.ByteBuf buffer) io.netty.buffer.ByteBufcopy()io.netty.buffer.ByteBufcopy(int index, int length) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufensureWritable(int minWritableBytes) intensureWritable(int minWritableBytes, boolean force) booleanintforEachByte(int index, int length, io.netty.util.ByteProcessor processor) intforEachByte(io.netty.util.ByteProcessor processor) intforEachByteDesc(int index, int length, io.netty.util.ByteProcessor processor) intforEachByteDesc(io.netty.util.ByteProcessor processor) booleangetBoolean(int index) bytegetByte(int index) io.netty.buffer.ByteBufgetBytes(int index, byte[] dst) io.netty.buffer.ByteBufgetBytes(int index, byte[] dst, int dstIndex, int length) io.netty.buffer.ByteBufgetBytes(int index, io.netty.buffer.ByteBuf dst) io.netty.buffer.ByteBufgetBytes(int index, io.netty.buffer.ByteBuf dst, int length) io.netty.buffer.ByteBufgetBytes(int index, io.netty.buffer.ByteBuf dst, int dstIndex, int length) io.netty.buffer.ByteBufgetBytes(int index, OutputStream out, int length) io.netty.buffer.ByteBufgetBytes(int index, ByteBuffer dst) intgetBytes(int index, FileChannel out, long position, int length) intgetBytes(int index, GatheringByteChannel out, int length) chargetChar(int index) getCharSequence(int index, int length, Charset charset) doublegetDouble(int index) floatgetFloat(int index) intgetInt(int index) intgetIntLE(int index) longgetLong(int index) longgetLongLE(int index) intgetMedium(int index) intgetMediumLE(int index) shortgetShort(int index) shortgetShortLE(int index) shortgetUnsignedByte(int index) longgetUnsignedInt(int index) longgetUnsignedIntLE(int index) intgetUnsignedMedium(int index) intgetUnsignedMediumLE(int index) intgetUnsignedShort(int index) intgetUnsignedShortLE(int index) booleanhasArray()inthashCode()final booleanintindexOf(int fromIndex, int toIndex, byte value) internalNioBuffer(int index, int length) final booleanisDirect()final booleanfinal booleanisReadable(int size) booleanfinal booleanfinal booleanisWritable(int size) final io.netty.buffer.ByteBuffinal io.netty.buffer.ByteBuffinal intfinal intfinal longnioBuffer(int index, int length) intnioBuffers(int index, int length) final ByteOrderorder()Deprecated.io.netty.buffer.ByteBufDeprecated.final intbooleanbytereadByte()io.netty.buffer.ByteBufreadBytes(byte[] dst) io.netty.buffer.ByteBufreadBytes(byte[] dst, int dstIndex, int length) io.netty.buffer.ByteBufreadBytes(int length) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf dst) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf dst, int length) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf dst, int dstIndex, int length) io.netty.buffer.ByteBufreadBytes(OutputStream out, int length) io.netty.buffer.ByteBufreadBytes(ByteBuffer dst) intreadBytes(FileChannel out, long position, int length) intreadBytes(GatheringByteChannel out, int length) charreadChar()readCharSequence(int length, Charset charset) doublefinal intfinal io.netty.buffer.ByteBufreaderIndex(int readerIndex) floatintreadInt()intlongreadLong()longintintio.netty.buffer.ByteBufreadRetainedSlice(int length) shortshortio.netty.buffer.ByteBufreadSlice(int length) shortlonglongintintintintfinal intrefCnt()booleanrelease()booleanrelease(int decrement) final io.netty.buffer.ByteBuffinal io.netty.buffer.ByteBufio.netty.buffer.ByteBufretain()io.netty.buffer.ByteBufretain(int increment) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufretainedSlice(int index, int length) io.netty.buffer.ByteBufsetBoolean(int index, boolean value) io.netty.buffer.ByteBufsetByte(int index, int value) io.netty.buffer.ByteBufsetBytes(int index, byte[] src) io.netty.buffer.ByteBufsetBytes(int index, byte[] src, int srcIndex, int length) io.netty.buffer.ByteBufsetBytes(int index, io.netty.buffer.ByteBuf src) io.netty.buffer.ByteBufsetBytes(int index, io.netty.buffer.ByteBuf src, int length) io.netty.buffer.ByteBufsetBytes(int index, io.netty.buffer.ByteBuf src, int srcIndex, int length) intsetBytes(int index, InputStream in, int length) io.netty.buffer.ByteBufsetBytes(int index, ByteBuffer src) intsetBytes(int index, FileChannel in, long position, int length) intsetBytes(int index, ScatteringByteChannel in, int length) io.netty.buffer.ByteBufsetChar(int index, int value) intsetCharSequence(int index, CharSequence sequence, Charset charset) io.netty.buffer.ByteBufsetDouble(int index, double value) io.netty.buffer.ByteBufsetFloat(int index, float value) io.netty.buffer.ByteBufsetIndex(int readerIndex, int writerIndex) io.netty.buffer.ByteBufsetInt(int index, int value) io.netty.buffer.ByteBufsetIntLE(int index, int value) io.netty.buffer.ByteBufsetLong(int index, long value) io.netty.buffer.ByteBufsetLongLE(int index, long value) io.netty.buffer.ByteBufsetMedium(int index, int value) io.netty.buffer.ByteBufsetMediumLE(int index, int value) io.netty.buffer.ByteBufsetShort(int index, int value) io.netty.buffer.ByteBufsetShortLE(int index, int value) io.netty.buffer.ByteBufsetZero(int index, int length) io.netty.buffer.ByteBufskipBytes(int length) io.netty.buffer.ByteBufslice()io.netty.buffer.ByteBufslice(int index, int length) toString()io.netty.buffer.ByteBuftouch()io.netty.buffer.ByteBuffinal io.netty.buffer.ByteBufunwrap()final intio.netty.buffer.ByteBufwriteBoolean(boolean value) io.netty.buffer.ByteBufwriteByte(int value) io.netty.buffer.ByteBufwriteBytes(byte[] src) io.netty.buffer.ByteBufwriteBytes(byte[] src, int srcIndex, int length) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf src) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf src, int length) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf src, int srcIndex, int length) intwriteBytes(InputStream in, int length) io.netty.buffer.ByteBufwriteBytes(ByteBuffer src) intwriteBytes(FileChannel in, long position, int length) intwriteBytes(ScatteringByteChannel in, int length) io.netty.buffer.ByteBufwriteChar(int value) intwriteCharSequence(CharSequence sequence, Charset charset) io.netty.buffer.ByteBufwriteDouble(double value) io.netty.buffer.ByteBufwriteFloat(float value) io.netty.buffer.ByteBufwriteInt(int value) io.netty.buffer.ByteBufwriteIntLE(int value) io.netty.buffer.ByteBufwriteLong(long value) io.netty.buffer.ByteBufwriteLongLE(long value) io.netty.buffer.ByteBufwriteMedium(int value) io.netty.buffer.ByteBufwriteMediumLE(int value) final intfinal io.netty.buffer.ByteBufwriterIndex(int writerIndex) io.netty.buffer.ByteBufwriteShort(int value) io.netty.buffer.ByteBufwriteShortLE(int value) io.netty.buffer.ByteBufwriteZero(int length) Methods inherited from class io.netty.buffer.ByteBuf
asByteBuf, getDoubleLE, getFloatLE, isContiguous, maxFastWritableBytes, readDoubleLE, readFloatLE, readString, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
-
Constructor Details
-
ByteBufDelegate
public ByteBufDelegate(io.netty.buffer.ByteBuf byteBuf) - Parameters:
byteBuf- The buffer to delegate to
-
-
Method Details
-
hasMemoryAddress
public final boolean hasMemoryAddress()- Specified by:
hasMemoryAddressin classio.netty.buffer.ByteBuf
-
memoryAddress
public final long memoryAddress()- Specified by:
memoryAddressin classio.netty.buffer.ByteBuf
-
capacity
public final int capacity()- Specified by:
capacityin classio.netty.buffer.ByteBuf
-
capacity
public io.netty.buffer.ByteBuf capacity(int newCapacity) - Specified by:
capacityin classio.netty.buffer.ByteBuf
-
maxCapacity
public final int maxCapacity()- Specified by:
maxCapacityin classio.netty.buffer.ByteBuf
-
alloc
public final io.netty.buffer.ByteBufAllocator alloc()- Specified by:
allocin classio.netty.buffer.ByteBuf
-
order
Deprecated.- Specified by:
orderin classio.netty.buffer.ByteBuf
-
order
Deprecated.- Specified by:
orderin classio.netty.buffer.ByteBuf
-
unwrap
public final io.netty.buffer.ByteBuf unwrap()- Specified by:
unwrapin classio.netty.buffer.ByteBuf
-
asReadOnly
public io.netty.buffer.ByteBuf asReadOnly()- Specified by:
asReadOnlyin classio.netty.buffer.ByteBuf
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classio.netty.buffer.ByteBuf
-
isDirect
public final boolean isDirect()- Specified by:
isDirectin classio.netty.buffer.ByteBuf
-
readerIndex
public final int readerIndex()- Specified by:
readerIndexin classio.netty.buffer.ByteBuf
-
readerIndex
public final io.netty.buffer.ByteBuf readerIndex(int readerIndex) - Specified by:
readerIndexin classio.netty.buffer.ByteBuf
-
writerIndex
public final int writerIndex()- Specified by:
writerIndexin classio.netty.buffer.ByteBuf
-
writerIndex
public final io.netty.buffer.ByteBuf writerIndex(int writerIndex) - Specified by:
writerIndexin classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int readerIndex, int writerIndex) - Specified by:
setIndexin classio.netty.buffer.ByteBuf
-
readableBytes
public final int readableBytes()- Specified by:
readableBytesin classio.netty.buffer.ByteBuf
-
writableBytes
public final int writableBytes()- Specified by:
writableBytesin classio.netty.buffer.ByteBuf
-
maxWritableBytes
public final int maxWritableBytes()- Specified by:
maxWritableBytesin classio.netty.buffer.ByteBuf
-
isReadable
public final boolean isReadable()- Specified by:
isReadablein classio.netty.buffer.ByteBuf
-
isWritable
public final boolean isWritable()- Specified by:
isWritablein classio.netty.buffer.ByteBuf
-
clear
public final io.netty.buffer.ByteBuf clear()- Specified by:
clearin classio.netty.buffer.ByteBuf
-
markReaderIndex
public final io.netty.buffer.ByteBuf markReaderIndex()- Specified by:
markReaderIndexin classio.netty.buffer.ByteBuf
-
resetReaderIndex
public final io.netty.buffer.ByteBuf resetReaderIndex()- Specified by:
resetReaderIndexin classio.netty.buffer.ByteBuf
-
markWriterIndex
public final io.netty.buffer.ByteBuf markWriterIndex()- Specified by:
markWriterIndexin classio.netty.buffer.ByteBuf
-
resetWriterIndex
public final io.netty.buffer.ByteBuf resetWriterIndex()- Specified by:
resetWriterIndexin classio.netty.buffer.ByteBuf
-
discardReadBytes
public io.netty.buffer.ByteBuf discardReadBytes()- Specified by:
discardReadBytesin classio.netty.buffer.ByteBuf
-
discardSomeReadBytes
public io.netty.buffer.ByteBuf discardSomeReadBytes()- Specified by:
discardSomeReadBytesin classio.netty.buffer.ByteBuf
-
ensureWritable
public io.netty.buffer.ByteBuf ensureWritable(int minWritableBytes) - Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int minWritableBytes, boolean force) - Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int index) - Specified by:
getBooleanin classio.netty.buffer.ByteBuf
-
getByte
public byte getByte(int index) - Specified by:
getBytein classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int index) - Specified by:
getUnsignedBytein classio.netty.buffer.ByteBuf
-
getShort
public short getShort(int index) - Specified by:
getShortin classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int index) - Specified by:
getShortLEin classio.netty.buffer.ByteBuf
-
getUnsignedShort
public int getUnsignedShort(int index) - Specified by:
getUnsignedShortin classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int index) - Specified by:
getUnsignedShortLEin classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int index) - Specified by:
getMediumin classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int index) - Specified by:
getMediumLEin classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int index) - Specified by:
getUnsignedMediumin classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int index) - Specified by:
getUnsignedMediumLEin classio.netty.buffer.ByteBuf
-
getInt
public int getInt(int index) - Specified by:
getIntin classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int index) - Specified by:
getIntLEin classio.netty.buffer.ByteBuf
-
getUnsignedInt
public long getUnsignedInt(int index) - Specified by:
getUnsignedIntin classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int index) - Specified by:
getUnsignedIntLEin classio.netty.buffer.ByteBuf
-
getLong
public long getLong(int index) - Specified by:
getLongin classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int index) - Specified by:
getLongLEin classio.netty.buffer.ByteBuf
-
getChar
public char getChar(int index) - Specified by:
getCharin classio.netty.buffer.ByteBuf
-
getFloat
public float getFloat(int index) - Specified by:
getFloatin classio.netty.buffer.ByteBuf
-
getDouble
public double getDouble(int index) - Specified by:
getDoublein classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int index, io.netty.buffer.ByteBuf dst) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int index, io.netty.buffer.ByteBuf dst, int length) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int index, io.netty.buffer.ByteBuf dst, int dstIndex, int length) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int index, byte[] dst) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int index, byte[] dst, int dstIndex, int length) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getBytes
- Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getBytes
- Specified by:
getBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
getCharSequence
- Specified by:
getCharSequencein classio.netty.buffer.ByteBuf
-
setBoolean
public io.netty.buffer.ByteBuf setBoolean(int index, boolean value) - Specified by:
setBooleanin classio.netty.buffer.ByteBuf
-
setByte
public io.netty.buffer.ByteBuf setByte(int index, int value) - Specified by:
setBytein classio.netty.buffer.ByteBuf
-
setShort
public io.netty.buffer.ByteBuf setShort(int index, int value) - Specified by:
setShortin classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int index, int value) - Specified by:
setShortLEin classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int index, int value) - Specified by:
setMediumin classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int index, int value) - Specified by:
setMediumLEin classio.netty.buffer.ByteBuf
-
setInt
public io.netty.buffer.ByteBuf setInt(int index, int value) - Specified by:
setIntin classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int index, int value) - Specified by:
setIntLEin classio.netty.buffer.ByteBuf
-
setLong
public io.netty.buffer.ByteBuf setLong(int index, long value) - Specified by:
setLongin classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int index, long value) - Specified by:
setLongLEin classio.netty.buffer.ByteBuf
-
setChar
public io.netty.buffer.ByteBuf setChar(int index, int value) - Specified by:
setCharin classio.netty.buffer.ByteBuf
-
setFloat
public io.netty.buffer.ByteBuf setFloat(int index, float value) - Specified by:
setFloatin classio.netty.buffer.ByteBuf
-
setDouble
public io.netty.buffer.ByteBuf setDouble(int index, double value) - Specified by:
setDoublein classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int index, io.netty.buffer.ByteBuf src) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int index, io.netty.buffer.ByteBuf src, int length) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int index, io.netty.buffer.ByteBuf src, int srcIndex, int length) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int index, byte[] src) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int index, byte[] src, int srcIndex, int length) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setBytes
- Specified by:
setBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
setZero
public io.netty.buffer.ByteBuf setZero(int index, int length) - Specified by:
setZeroin classio.netty.buffer.ByteBuf
-
setCharSequence
- Specified by:
setCharSequencein classio.netty.buffer.ByteBuf
-
readBoolean
public boolean readBoolean()- Specified by:
readBooleanin classio.netty.buffer.ByteBuf
-
readByte
public byte readByte()- Specified by:
readBytein classio.netty.buffer.ByteBuf
-
readUnsignedByte
public short readUnsignedByte()- Specified by:
readUnsignedBytein classio.netty.buffer.ByteBuf
-
readShort
public short readShort()- Specified by:
readShortin classio.netty.buffer.ByteBuf
-
readShortLE
public short readShortLE()- Specified by:
readShortLEin classio.netty.buffer.ByteBuf
-
readUnsignedShort
public int readUnsignedShort()- Specified by:
readUnsignedShortin classio.netty.buffer.ByteBuf
-
readUnsignedShortLE
public int readUnsignedShortLE()- Specified by:
readUnsignedShortLEin classio.netty.buffer.ByteBuf
-
readMedium
public int readMedium()- Specified by:
readMediumin classio.netty.buffer.ByteBuf
-
readMediumLE
public int readMediumLE()- Specified by:
readMediumLEin classio.netty.buffer.ByteBuf
-
readUnsignedMedium
public int readUnsignedMedium()- Specified by:
readUnsignedMediumin classio.netty.buffer.ByteBuf
-
readUnsignedMediumLE
public int readUnsignedMediumLE()- Specified by:
readUnsignedMediumLEin classio.netty.buffer.ByteBuf
-
readInt
public int readInt()- Specified by:
readIntin classio.netty.buffer.ByteBuf
-
readIntLE
public int readIntLE()- Specified by:
readIntLEin classio.netty.buffer.ByteBuf
-
readUnsignedInt
public long readUnsignedInt()- Specified by:
readUnsignedIntin classio.netty.buffer.ByteBuf
-
readUnsignedIntLE
public long readUnsignedIntLE()- Specified by:
readUnsignedIntLEin classio.netty.buffer.ByteBuf
-
readLong
public long readLong()- Specified by:
readLongin classio.netty.buffer.ByteBuf
-
readLongLE
public long readLongLE()- Specified by:
readLongLEin classio.netty.buffer.ByteBuf
-
readChar
public char readChar()- Specified by:
readCharin classio.netty.buffer.ByteBuf
-
readFloat
public float readFloat()- Specified by:
readFloatin classio.netty.buffer.ByteBuf
-
readDouble
public double readDouble()- Specified by:
readDoublein classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(int length) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int length) - Specified by:
readSlicein classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int length) - Specified by:
readRetainedSlicein classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf dst) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf dst, int length) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf dst, int dstIndex, int length) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] dst) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] dst, int dstIndex, int length) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
readBytes
- Specified by:
readBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
readCharSequence
- Specified by:
readCharSequencein classio.netty.buffer.ByteBuf
-
skipBytes
public io.netty.buffer.ByteBuf skipBytes(int length) - Specified by:
skipBytesin classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean value) - Specified by:
writeBooleanin classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int value) - Specified by:
writeBytein classio.netty.buffer.ByteBuf
-
writeShort
public io.netty.buffer.ByteBuf writeShort(int value) - Specified by:
writeShortin classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int value) - Specified by:
writeShortLEin classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int value) - Specified by:
writeMediumin classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int value) - Specified by:
writeMediumLEin classio.netty.buffer.ByteBuf
-
writeInt
public io.netty.buffer.ByteBuf writeInt(int value) - Specified by:
writeIntin classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int value) - Specified by:
writeIntLEin classio.netty.buffer.ByteBuf
-
writeLong
public io.netty.buffer.ByteBuf writeLong(long value) - Specified by:
writeLongin classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long value) - Specified by:
writeLongLEin classio.netty.buffer.ByteBuf
-
writeChar
public io.netty.buffer.ByteBuf writeChar(int value) - Specified by:
writeCharin classio.netty.buffer.ByteBuf
-
writeFloat
public io.netty.buffer.ByteBuf writeFloat(float value) - Specified by:
writeFloatin classio.netty.buffer.ByteBuf
-
writeDouble
public io.netty.buffer.ByteBuf writeDouble(double value) - Specified by:
writeDoublein classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf src) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf src, int length) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf src, int srcIndex, int length) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] src) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] src, int srcIndex, int length) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin classio.netty.buffer.ByteBuf- Throws:
IOException
-
writeZero
public io.netty.buffer.ByteBuf writeZero(int length) - Specified by:
writeZeroin classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequencein classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int fromIndex, int toIndex, byte value) - Specified by:
indexOfin classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte value) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int length, byte value) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int index, int length, byte value) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor processor) - Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(int index, int length, io.netty.util.ByteProcessor processor) - Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor processor) - Specified by:
forEachByteDescin classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(int index, int length, io.netty.util.ByteProcessor processor) - Specified by:
forEachByteDescin classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy()- Specified by:
copyin classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy(int index, int length) - Specified by:
copyin classio.netty.buffer.ByteBuf
-
slice
public io.netty.buffer.ByteBuf slice()- Specified by:
slicein classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice()- Specified by:
retainedSlicein classio.netty.buffer.ByteBuf
-
slice
public io.netty.buffer.ByteBuf slice(int index, int length) - Specified by:
slicein classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int index, int length) - Specified by:
retainedSlicein classio.netty.buffer.ByteBuf
-
duplicate
public io.netty.buffer.ByteBuf duplicate()- Specified by:
duplicatein classio.netty.buffer.ByteBuf
-
retainedDuplicate
public io.netty.buffer.ByteBuf retainedDuplicate()- Specified by:
retainedDuplicatein classio.netty.buffer.ByteBuf
-
nioBufferCount
public int nioBufferCount()- Specified by:
nioBufferCountin classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBufferin classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBufferin classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffersin classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffersin classio.netty.buffer.ByteBuf
-
internalNioBuffer
- Specified by:
internalNioBufferin classio.netty.buffer.ByteBuf
-
hasArray
public boolean hasArray()- Specified by:
hasArrayin classio.netty.buffer.ByteBuf
-
array
public byte[] array()- Specified by:
arrayin classio.netty.buffer.ByteBuf
-
arrayOffset
public int arrayOffset()- Specified by:
arrayOffsetin classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toStringin classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toStringin classio.netty.buffer.ByteBuf
-
hashCode
public int hashCode()- Specified by:
hashCodein classio.netty.buffer.ByteBuf
-
equals
- Specified by:
equalsin classio.netty.buffer.ByteBuf
-
compareTo
public int compareTo(io.netty.buffer.ByteBuf buffer) - Specified by:
compareToin interfaceComparable<io.netty.buffer.ByteBuf>- Specified by:
compareToin classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toStringin classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain(int increment) - Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Specified by:
retainin classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain()- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Specified by:
retainin classio.netty.buffer.ByteBuf
-
touch
public io.netty.buffer.ByteBuf touch()- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Specified by:
touchin classio.netty.buffer.ByteBuf
-
touch
- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Specified by:
touchin classio.netty.buffer.ByteBuf
-
isReadable
public final boolean isReadable(int size) - Specified by:
isReadablein classio.netty.buffer.ByteBuf
-
isWritable
public final boolean isWritable(int size) - Specified by:
isWritablein classio.netty.buffer.ByteBuf
-
refCnt
public final int refCnt() -
release
public boolean release() -
release
public boolean release(int decrement)
-