Package io.netty.buffer
Class UnsafeDirectLittleEndian
java.lang.Object
io.netty.buffer.ByteBuf
io.netty.buffer.UnsafeDirectLittleEndian
- All Implemented Interfaces:
io.netty.buffer.ByteBufConvertible,io.netty.util.ReferenceCounted,Comparable<io.netty.buffer.ByteBuf>
public final class UnsafeDirectLittleEndian
extends io.netty.buffer.ByteBuf
The underlying class we use for little-endian access to memory. Is used
underneath DrillBufs to abstract away the Netty classes and underlying Netty
memory management.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanprotected final io.netty.buffer.ByteBuffinal long -
Method Summary
Modifier and TypeMethodDescriptionfinal io.netty.buffer.ByteBufAllocatoralloc()byte[]array()intio.netty.buffer.ByteBufintbytesBefore(byte arg0) intbytesBefore(int arg0, byte arg1) intbytesBefore(int arg0, int arg1, byte arg2) final intcapacity()io.netty.buffer.ByteBufcapacity(int arg0) final io.netty.buffer.ByteBufclear()intcompareTo(io.netty.buffer.ByteBuf arg0) io.netty.buffer.ByteBufcopy()io.netty.buffer.ByteBufcopy(int arg0, int arg1) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufensureWritable(int arg0) intensureWritable(int arg0, boolean arg1) booleanintforEachByte(int arg0, int arg1, io.netty.util.ByteProcessor arg2) intforEachByte(io.netty.util.ByteProcessor arg0) intforEachByteDesc(int arg0, int arg1, io.netty.util.ByteProcessor arg2) intforEachByteDesc(io.netty.util.ByteProcessor arg0) booleangetBoolean(int arg0) bytegetByte(int index) io.netty.buffer.ByteBufgetBytes(int arg0, byte[] arg1) io.netty.buffer.ByteBufgetBytes(int arg0, byte[] arg1, int arg2, int arg3) io.netty.buffer.ByteBufgetBytes(int arg0, io.netty.buffer.ByteBuf arg1) io.netty.buffer.ByteBufgetBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) io.netty.buffer.ByteBufgetBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) io.netty.buffer.ByteBufgetBytes(int index, OutputStream out, int length) io.netty.buffer.ByteBufgetBytes(int arg0, ByteBuffer arg1) intgetBytes(int arg0, FileChannel arg1, long arg2, int arg3) intgetBytes(int arg0, GatheringByteChannel arg1, int arg2) chargetChar(int index) getCharSequence(int arg0, int arg1, Charset arg2) doublegetDouble(int index) floatgetFloat(int index) intgetInt(int index) intgetIntLE(int arg0) longgetLong(int index) longgetLongLE(int arg0) intgetMedium(int arg0) intgetMediumLE(int arg0) shortgetShort(int index) shortgetShortLE(int arg0) shortgetUnsignedByte(int arg0) longgetUnsignedInt(int index) longgetUnsignedIntLE(int arg0) intgetUnsignedMedium(int arg0) intgetUnsignedMediumLE(int arg0) intgetUnsignedShort(int index) intgetUnsignedShortLE(int arg0) booleanhasArray()protected booleanhasCapacity(int index, int fieldLength) inthashCode()final booleanintindexOf(int arg0, int arg1, byte arg2) internalNioBuffer(int arg0, int arg1) booleanfinal booleanisDirect()final booleanfinal booleanisReadable(int arg0) booleanfinal booleanfinal booleanisWritable(int arg0) final io.netty.buffer.ByteBuffinal io.netty.buffer.ByteBuffinal intintfinal intfinal longnioBuffer(int arg0, int arg1) intnioBuffers(int arg0, int arg1) final ByteOrderorder()io.netty.buffer.ByteBuffinal intbooleanbytereadByte()io.netty.buffer.ByteBufreadBytes(byte[] arg0) io.netty.buffer.ByteBufreadBytes(byte[] arg0, int arg1, int arg2) io.netty.buffer.ByteBufreadBytes(int arg0) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf arg0) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf arg0, int arg1) io.netty.buffer.ByteBufreadBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) io.netty.buffer.ByteBufreadBytes(OutputStream arg0, int arg1) io.netty.buffer.ByteBufreadBytes(ByteBuffer arg0) intreadBytes(FileChannel arg0, long arg1, int arg2) intreadBytes(GatheringByteChannel arg0, int arg1) charreadChar()readCharSequence(int arg0, Charset arg1) doublefinal intfinal io.netty.buffer.ByteBufreaderIndex(int arg0) floatintreadInt()intlongreadLong()longintintio.netty.buffer.ByteBufreadRetainedSlice(int arg0) shortshortio.netty.buffer.ByteBufreadSlice(int arg0) shortlonglongintintintintfinal intrefCnt()booleanrelease()booleanrelease(int decrement) final io.netty.buffer.ByteBuffinal io.netty.buffer.ByteBufio.netty.buffer.ByteBufretain()io.netty.buffer.ByteBufretain(int arg0) io.netty.buffer.ByteBufio.netty.buffer.ByteBufio.netty.buffer.ByteBufretainedSlice(int arg0, int arg1) io.netty.buffer.ByteBufsetBoolean(int arg0, boolean arg1) io.netty.buffer.ByteBufsetByte(int index, int value) io.netty.buffer.ByteBufsetBytes(int arg0, byte[] arg1) io.netty.buffer.ByteBufsetBytes(int arg0, byte[] arg1, int arg2, int arg3) io.netty.buffer.ByteBufsetBytes(int arg0, io.netty.buffer.ByteBuf arg1) io.netty.buffer.ByteBufsetBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) io.netty.buffer.ByteBufsetBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) intsetBytes(int index, InputStream in, int length) io.netty.buffer.ByteBufsetBytes(int arg0, ByteBuffer arg1) intsetBytes(int arg0, FileChannel arg1, long arg2, int arg3) intsetBytes(int arg0, ScatteringByteChannel arg1, int arg2) booleansetBytesBounded(int index, byte[] src, int srcIndex, int length) Write bytes into the buffer at the given index, if space is available.booleansetBytesBounded(int index, UnsafeDirectLittleEndian src, int srcIndex, int length) io.netty.buffer.ByteBufsetChar(int index, int value) intsetCharSequence(int arg0, CharSequence arg1, Charset arg2) io.netty.buffer.ByteBufsetDouble(int index, double value) io.netty.buffer.ByteBufsetFloat(int index, float value) io.netty.buffer.ByteBufsetIndex(int arg0, int arg1) io.netty.buffer.ByteBufsetInt(int index, int value) io.netty.buffer.ByteBufsetIntLE(int arg0, int arg1) io.netty.buffer.ByteBufsetLong(int index, long value) io.netty.buffer.ByteBufsetLongLE(int arg0, long arg1) io.netty.buffer.ByteBufsetMedium(int arg0, int arg1) io.netty.buffer.ByteBufsetMediumLE(int arg0, int arg1) io.netty.buffer.ByteBufsetShort(int index, int value) io.netty.buffer.ByteBufsetShortLE(int arg0, int arg1) io.netty.buffer.ByteBufsetZero(int arg0, int arg1) io.netty.buffer.ByteBufskipBytes(int arg0) 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 arg0) io.netty.buffer.ByteBufwriteByte(int arg0) io.netty.buffer.ByteBufwriteBytes(byte[] arg0) io.netty.buffer.ByteBufwriteBytes(byte[] arg0, int arg1, int arg2) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf arg0) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf arg0, int arg1) io.netty.buffer.ByteBufwriteBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) intwriteBytes(InputStream arg0, int arg1) io.netty.buffer.ByteBufwriteBytes(ByteBuffer arg0) intwriteBytes(FileChannel arg0, long arg1, int arg2) intwriteBytes(ScatteringByteChannel arg0, int arg1) io.netty.buffer.ByteBufwriteChar(int value) intwriteCharSequence(CharSequence arg0, Charset arg1) io.netty.buffer.ByteBufwriteDouble(double value) io.netty.buffer.ByteBufwriteFloat(float value) io.netty.buffer.ByteBufwriteInt(int value) io.netty.buffer.ByteBufwriteIntLE(int arg0) io.netty.buffer.ByteBufwriteLong(long value) io.netty.buffer.ByteBufwriteLongLE(long arg0) io.netty.buffer.ByteBufwriteMedium(int arg0) io.netty.buffer.ByteBufwriteMediumLE(int arg0) final intfinal io.netty.buffer.ByteBufwriterIndex(int arg0) io.netty.buffer.ByteBufwriteShort(int value) io.netty.buffer.ByteBufwriteShortLE(int arg0) io.netty.buffer.ByteBufwriteZero(int arg0) Methods inherited from class io.netty.buffer.ByteBuf
asByteBuf, getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
-
Field Details
-
id
public final long id -
ASSERT_ENABLED
public static final boolean ASSERT_ENABLED -
buf
protected final io.netty.buffer.ByteBuf buf
-
-
Method Details
-
getLong
public long getLong(int index) -
getFloat
public float getFloat(int index) -
slice
public io.netty.buffer.ByteBuf slice() -
slice
public io.netty.buffer.ByteBuf slice(int index, int length) -
order
-
getDouble
public double getDouble(int index) -
getChar
public char getChar(int index) -
getUnsignedInt
public long getUnsignedInt(int index) -
getInt
public int getInt(int index) -
getUnsignedShort
public int getUnsignedShort(int index) -
getShort
public short getShort(int index) -
setShort
public io.netty.buffer.ByteBuf setShort(int index, int value) -
setInt
public io.netty.buffer.ByteBuf setInt(int index, int value) -
setLong
public io.netty.buffer.ByteBuf setLong(int index, long value) -
setChar
public io.netty.buffer.ByteBuf setChar(int index, int value) -
setFloat
public io.netty.buffer.ByteBuf setFloat(int index, float value) -
setDouble
public io.netty.buffer.ByteBuf setDouble(int index, double value) -
hasCapacity
protected boolean hasCapacity(int index, int fieldLength) -
setBytesBounded
public boolean setBytesBounded(int index, byte[] src, int srcIndex, int length) Write bytes into the buffer at the given index, if space is available.- Parameters:
index- location to writesrc- bytes to writesrcIndex- start of data in the source arraylength- length of the data to write- Returns:
- true if the value was written, false if the value was not written because the value would overflow the buffer
-
setBytesBounded
-
writeShort
public io.netty.buffer.ByteBuf writeShort(int value) -
writeInt
public io.netty.buffer.ByteBuf writeInt(int value) -
writeLong
public io.netty.buffer.ByteBuf writeLong(long value) -
writeChar
public io.netty.buffer.ByteBuf writeChar(int value) -
writeFloat
public io.netty.buffer.ByteBuf writeFloat(float value) -
writeDouble
public io.netty.buffer.ByteBuf writeDouble(double value) -
getByte
public byte getByte(int index) -
setByte
public io.netty.buffer.ByteBuf setByte(int index, int value) -
release
public boolean release()- Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
release
public boolean release(int decrement) - Specified by:
releasein interfaceio.netty.util.ReferenceCounted
-
setBytes
- Throws:
IOException
-
getBytes
- Throws:
IOException
-
hashCode
public int hashCode() -
hasMemoryAddress
public final boolean hasMemoryAddress()- Specified by:
hasMemoryAddressin classio.netty.buffer.ByteBuf
-
isContiguous
public boolean isContiguous()- Overrides:
isContiguousin 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 arg0) - 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
- 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 arg0) - 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 arg0) - Specified by:
writerIndexin classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int arg0, int arg1) - 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
-
maxFastWritableBytes
public int maxFastWritableBytes()- Overrides:
maxFastWritableBytesin 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 arg0) - Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int arg0, boolean arg1) - Specified by:
ensureWritablein classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int arg0) - Specified by:
getBooleanin classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int arg0) - Specified by:
getUnsignedBytein classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int arg0) - Specified by:
getShortLEin classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int arg0) - Specified by:
getUnsignedShortLEin classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int arg0) - Specified by:
getMediumin classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int arg0) - Specified by:
getMediumLEin classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int arg0) - Specified by:
getUnsignedMediumin classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int arg0) - Specified by:
getUnsignedMediumLEin classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int arg0) - Specified by:
getIntLEin classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int arg0) - Specified by:
getUnsignedIntLEin classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int arg0) - Specified by:
getLongLEin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, byte[] arg1) - Specified by:
getBytesin classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, byte[] arg1, int arg2, int arg3) - 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
-
getCharSequence
- Specified by:
getCharSequencein classio.netty.buffer.ByteBuf
-
setBoolean
public io.netty.buffer.ByteBuf setBoolean(int arg0, boolean arg1) - Specified by:
setBooleanin classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int arg0, int arg1) - Specified by:
setShortLEin classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int arg0, int arg1) - Specified by:
setMediumin classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int arg0, int arg1) - Specified by:
setMediumLEin classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int arg0, int arg1) - Specified by:
setIntLEin classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int arg0, long arg1) - Specified by:
setLongLEin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, byte[] arg1) - Specified by:
setBytesin classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, byte[] arg1, int arg2, int arg3) - 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
-
setZero
public io.netty.buffer.ByteBuf setZero(int arg0, int arg1) - 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 arg0) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int arg0) - Specified by:
readSlicein classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int arg0) - Specified by:
readRetainedSlicein classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0, int arg1) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] arg0) - Specified by:
readBytesin classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] arg0, int arg1, int arg2) - 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 arg0) - Specified by:
skipBytesin classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean arg0) - Specified by:
writeBooleanin classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int arg0) - Specified by:
writeBytein classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int arg0) - Specified by:
writeShortLEin classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int arg0) - Specified by:
writeMediumin classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int arg0) - Specified by:
writeMediumLEin classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int arg0) - Specified by:
writeIntLEin classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long arg0) - Specified by:
writeLongLEin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0, int arg1) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] arg0) - Specified by:
writeBytesin classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] arg0, int arg1, int arg2) - 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 arg0) - Specified by:
writeZeroin classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequencein classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int arg0, int arg1, byte arg2) - Specified by:
indexOfin classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte arg0) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int arg0, byte arg1) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int arg0, int arg1, byte arg2) - Specified by:
bytesBeforein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor arg0) - Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(int arg0, int arg1, io.netty.util.ByteProcessor arg2) - Specified by:
forEachBytein classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor arg0) - Specified by:
forEachByteDescin classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(int arg0, int arg1, io.netty.util.ByteProcessor arg2) - 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 arg0, int arg1) - Specified by:
copyin classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice()- Specified by:
retainedSlicein classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int arg0, int arg1) - 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
-
equals
- Specified by:
equalsin classio.netty.buffer.ByteBuf
-
compareTo
public int compareTo(io.netty.buffer.ByteBuf arg0) - 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 arg0) - 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 arg0) - Specified by:
isReadablein classio.netty.buffer.ByteBuf
-
isWritable
public final boolean isWritable(int arg0) - Specified by:
isWritablein classio.netty.buffer.ByteBuf
-
refCnt
public final int refCnt()
-