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 class UnsafeDirectLittleEndian
extends io.netty.buffer.ByteBuf
The underlying class we use for little-endian access to memory. Is used underneath ArrowBufs to
abstract away the Netty classes and underlying Netty memory management.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUnsafeDirectLittleEndian
(io.netty.buffer.AbstractByteBuf buf) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionfinal io.netty.buffer.ByteBufAllocator
alloc()
byte[]
array()
int
io.netty.buffer.ByteBuf
int
bytesBefore
(byte arg0) int
bytesBefore
(int arg0, byte arg1) int
bytesBefore
(int arg0, int arg1, byte arg2) final int
capacity()
io.netty.buffer.ByteBuf
capacity
(int arg0) final io.netty.buffer.ByteBuf
clear()
int
compareTo
(io.netty.buffer.ByteBuf arg0) io.netty.buffer.ByteBuf
copy()
io.netty.buffer.ByteBuf
copy
(int arg0, int arg1) io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
ensureWritable
(int arg0) int
ensureWritable
(int arg0, boolean arg1) boolean
int
forEachByte
(int arg0, int arg1, io.netty.util.ByteProcessor arg2) int
forEachByte
(io.netty.util.ByteProcessor arg0) int
forEachByteDesc
(int arg0, int arg1, io.netty.util.ByteProcessor arg2) int
forEachByteDesc
(io.netty.util.ByteProcessor arg0) boolean
getBoolean
(int arg0) byte
getByte
(int index) io.netty.buffer.ByteBuf
getBytes
(int arg0, byte[] arg1) io.netty.buffer.ByteBuf
getBytes
(int arg0, byte[] arg1, int arg2, int arg3) io.netty.buffer.ByteBuf
getBytes
(int arg0, io.netty.buffer.ByteBuf arg1) io.netty.buffer.ByteBuf
getBytes
(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) io.netty.buffer.ByteBuf
getBytes
(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) io.netty.buffer.ByteBuf
getBytes
(int index, OutputStream out, int length) io.netty.buffer.ByteBuf
getBytes
(int arg0, ByteBuffer arg1) int
getBytes
(int arg0, FileChannel arg1, long arg2, int arg3) int
getBytes
(int arg0, GatheringByteChannel arg1, int arg2) char
getChar
(int index) getCharSequence
(int arg0, int arg1, Charset arg2) double
getDouble
(int index) float
getFloat
(int index) int
getInt
(int index) int
getIntLE
(int arg0) long
getLong
(int index) long
getLongLE
(int arg0) int
getMedium
(int arg0) int
getMediumLE
(int arg0) short
getShort
(int index) short
getShortLE
(int arg0) short
getUnsignedByte
(int arg0) long
getUnsignedInt
(int index) long
getUnsignedIntLE
(int arg0) int
getUnsignedMedium
(int arg0) int
getUnsignedMediumLE
(int arg0) int
getUnsignedShort
(int index) int
getUnsignedShortLE
(int arg0) boolean
hasArray()
int
hashCode()
final boolean
int
indexOf
(int arg0, int arg1, byte arg2) internalNioBuffer
(int arg0, int arg1) boolean
final boolean
isDirect()
final boolean
final boolean
isReadable
(int arg0) boolean
final boolean
final boolean
isWritable
(int arg0) final io.netty.buffer.ByteBuf
final io.netty.buffer.ByteBuf
final int
int
final int
final long
nioBuffer
(int arg0, int arg1) int
nioBuffers
(int arg0, int arg1) final ByteOrder
order()
io.netty.buffer.ByteBuf
final int
boolean
byte
readByte()
io.netty.buffer.ByteBuf
readBytes
(byte[] arg0) io.netty.buffer.ByteBuf
readBytes
(byte[] arg0, int arg1, int arg2) io.netty.buffer.ByteBuf
readBytes
(int arg0) io.netty.buffer.ByteBuf
readBytes
(io.netty.buffer.ByteBuf arg0) io.netty.buffer.ByteBuf
readBytes
(io.netty.buffer.ByteBuf arg0, int arg1) io.netty.buffer.ByteBuf
readBytes
(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) io.netty.buffer.ByteBuf
readBytes
(OutputStream arg0, int arg1) io.netty.buffer.ByteBuf
readBytes
(ByteBuffer arg0) int
readBytes
(FileChannel arg0, long arg1, int arg2) int
readBytes
(GatheringByteChannel arg0, int arg1) char
readChar()
readCharSequence
(int arg0, Charset arg1) double
final int
final io.netty.buffer.ByteBuf
readerIndex
(int arg0) float
int
readInt()
int
long
readLong()
long
int
int
io.netty.buffer.ByteBuf
readRetainedSlice
(int arg0) short
short
io.netty.buffer.ByteBuf
readSlice
(int arg0) short
long
long
int
int
int
int
final int
refCnt()
boolean
release()
boolean
release
(int arg0) final io.netty.buffer.ByteBuf
final io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
retain()
io.netty.buffer.ByteBuf
retain
(int arg0) io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
io.netty.buffer.ByteBuf
retainedSlice
(int arg0, int arg1) io.netty.buffer.ByteBuf
setBoolean
(int arg0, boolean arg1) io.netty.buffer.ByteBuf
setByte
(int index, int value) io.netty.buffer.ByteBuf
setBytes
(int arg0, byte[] arg1) io.netty.buffer.ByteBuf
setBytes
(int arg0, byte[] arg1, int arg2, int arg3) io.netty.buffer.ByteBuf
setBytes
(int arg0, io.netty.buffer.ByteBuf arg1) io.netty.buffer.ByteBuf
setBytes
(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) io.netty.buffer.ByteBuf
setBytes
(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) int
setBytes
(int index, InputStream in, int length) io.netty.buffer.ByteBuf
setBytes
(int arg0, ByteBuffer arg1) int
setBytes
(int arg0, FileChannel arg1, long arg2, int arg3) int
setBytes
(int arg0, ScatteringByteChannel arg1, int arg2) io.netty.buffer.ByteBuf
setChar
(int index, int value) int
setCharSequence
(int arg0, CharSequence arg1, Charset arg2) io.netty.buffer.ByteBuf
setDouble
(int index, double value) io.netty.buffer.ByteBuf
setFloat
(int index, float value) io.netty.buffer.ByteBuf
setIndex
(int arg0, int arg1) io.netty.buffer.ByteBuf
setInt
(int index, int value) io.netty.buffer.ByteBuf
setIntLE
(int arg0, int arg1) io.netty.buffer.ByteBuf
setLong
(int index, long value) io.netty.buffer.ByteBuf
setLongLE
(int arg0, long arg1) io.netty.buffer.ByteBuf
setMedium
(int arg0, int arg1) io.netty.buffer.ByteBuf
setMediumLE
(int arg0, int arg1) io.netty.buffer.ByteBuf
setShort
(int index, int value) io.netty.buffer.ByteBuf
setShortLE
(int arg0, int arg1) io.netty.buffer.ByteBuf
setZero
(int arg0, int arg1) io.netty.buffer.ByteBuf
skipBytes
(int arg0) io.netty.buffer.ByteBuf
slice()
io.netty.buffer.ByteBuf
slice
(int index, int length) toString()
io.netty.buffer.ByteBuf
touch()
io.netty.buffer.ByteBuf
final io.netty.buffer.ByteBuf
unwrap()
final int
io.netty.buffer.ByteBuf
writeBoolean
(boolean arg0) io.netty.buffer.ByteBuf
writeByte
(int arg0) io.netty.buffer.ByteBuf
writeBytes
(byte[] arg0) io.netty.buffer.ByteBuf
writeBytes
(byte[] arg0, int arg1, int arg2) io.netty.buffer.ByteBuf
writeBytes
(io.netty.buffer.ByteBuf arg0) io.netty.buffer.ByteBuf
writeBytes
(io.netty.buffer.ByteBuf arg0, int arg1) io.netty.buffer.ByteBuf
writeBytes
(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) int
writeBytes
(InputStream arg0, int arg1) io.netty.buffer.ByteBuf
writeBytes
(ByteBuffer arg0) int
writeBytes
(FileChannel arg0, long arg1, int arg2) int
writeBytes
(ScatteringByteChannel arg0, int arg1) io.netty.buffer.ByteBuf
writeChar
(int value) int
writeCharSequence
(CharSequence arg0, Charset arg1) 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 arg0) io.netty.buffer.ByteBuf
writeLong
(long value) io.netty.buffer.ByteBuf
writeLongLE
(long arg0) io.netty.buffer.ByteBuf
writeMedium
(int arg0) io.netty.buffer.ByteBuf
writeMediumLE
(int arg0) final int
final io.netty.buffer.ByteBuf
writerIndex
(int arg0) io.netty.buffer.ByteBuf
writeShort
(int value) io.netty.buffer.ByteBuf
writeShortLE
(int arg0) io.netty.buffer.ByteBuf
writeZero
(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 -
buf
protected final io.netty.buffer.ByteBuf buf
-
-
Constructor Details
-
UnsafeDirectLittleEndian
public UnsafeDirectLittleEndian(io.netty.buffer.AbstractByteBuf buf) Constructs a new instance.- Parameters:
buf
- The buffer to wrap
-
-
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) -
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:
release
in interfaceio.netty.util.ReferenceCounted
-
setBytes
- Throws:
IOException
-
getBytes
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
hasMemoryAddress
public final boolean hasMemoryAddress()- Specified by:
hasMemoryAddress
in classio.netty.buffer.ByteBuf
-
isContiguous
public boolean isContiguous()- Overrides:
isContiguous
in classio.netty.buffer.ByteBuf
-
memoryAddress
public final long memoryAddress()- Specified by:
memoryAddress
in classio.netty.buffer.ByteBuf
-
capacity
public final int capacity()- Specified by:
capacity
in classio.netty.buffer.ByteBuf
-
capacity
public io.netty.buffer.ByteBuf capacity(int arg0) - Specified by:
capacity
in classio.netty.buffer.ByteBuf
-
maxCapacity
public final int maxCapacity()- Specified by:
maxCapacity
in classio.netty.buffer.ByteBuf
-
alloc
public final io.netty.buffer.ByteBufAllocator alloc()- Specified by:
alloc
in classio.netty.buffer.ByteBuf
-
order
- Specified by:
order
in classio.netty.buffer.ByteBuf
-
unwrap
public final io.netty.buffer.ByteBuf unwrap()- Specified by:
unwrap
in classio.netty.buffer.ByteBuf
-
asReadOnly
public io.netty.buffer.ByteBuf asReadOnly()- Specified by:
asReadOnly
in classio.netty.buffer.ByteBuf
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in classio.netty.buffer.ByteBuf
-
isDirect
public final boolean isDirect()- Specified by:
isDirect
in classio.netty.buffer.ByteBuf
-
readerIndex
public final int readerIndex()- Specified by:
readerIndex
in classio.netty.buffer.ByteBuf
-
readerIndex
public final io.netty.buffer.ByteBuf readerIndex(int arg0) - Specified by:
readerIndex
in classio.netty.buffer.ByteBuf
-
writerIndex
public final int writerIndex()- Specified by:
writerIndex
in classio.netty.buffer.ByteBuf
-
writerIndex
public final io.netty.buffer.ByteBuf writerIndex(int arg0) - Specified by:
writerIndex
in classio.netty.buffer.ByteBuf
-
setIndex
public io.netty.buffer.ByteBuf setIndex(int arg0, int arg1) - Specified by:
setIndex
in classio.netty.buffer.ByteBuf
-
readableBytes
public final int readableBytes()- Specified by:
readableBytes
in classio.netty.buffer.ByteBuf
-
writableBytes
public final int writableBytes()- Specified by:
writableBytes
in classio.netty.buffer.ByteBuf
-
maxWritableBytes
public final int maxWritableBytes()- Specified by:
maxWritableBytes
in classio.netty.buffer.ByteBuf
-
maxFastWritableBytes
public int maxFastWritableBytes()- Overrides:
maxFastWritableBytes
in classio.netty.buffer.ByteBuf
-
isReadable
public final boolean isReadable()- Specified by:
isReadable
in classio.netty.buffer.ByteBuf
-
isWritable
public final boolean isWritable()- Specified by:
isWritable
in classio.netty.buffer.ByteBuf
-
clear
public final io.netty.buffer.ByteBuf clear()- Specified by:
clear
in classio.netty.buffer.ByteBuf
-
markReaderIndex
public final io.netty.buffer.ByteBuf markReaderIndex()- Specified by:
markReaderIndex
in classio.netty.buffer.ByteBuf
-
resetReaderIndex
public final io.netty.buffer.ByteBuf resetReaderIndex()- Specified by:
resetReaderIndex
in classio.netty.buffer.ByteBuf
-
markWriterIndex
public final io.netty.buffer.ByteBuf markWriterIndex()- Specified by:
markWriterIndex
in classio.netty.buffer.ByteBuf
-
resetWriterIndex
public final io.netty.buffer.ByteBuf resetWriterIndex()- Specified by:
resetWriterIndex
in classio.netty.buffer.ByteBuf
-
discardReadBytes
public io.netty.buffer.ByteBuf discardReadBytes()- Specified by:
discardReadBytes
in classio.netty.buffer.ByteBuf
-
discardSomeReadBytes
public io.netty.buffer.ByteBuf discardSomeReadBytes()- Specified by:
discardSomeReadBytes
in classio.netty.buffer.ByteBuf
-
ensureWritable
public io.netty.buffer.ByteBuf ensureWritable(int arg0) - Specified by:
ensureWritable
in classio.netty.buffer.ByteBuf
-
ensureWritable
public int ensureWritable(int arg0, boolean arg1) - Specified by:
ensureWritable
in classio.netty.buffer.ByteBuf
-
getBoolean
public boolean getBoolean(int arg0) - Specified by:
getBoolean
in classio.netty.buffer.ByteBuf
-
getUnsignedByte
public short getUnsignedByte(int arg0) - Specified by:
getUnsignedByte
in classio.netty.buffer.ByteBuf
-
getShortLE
public short getShortLE(int arg0) - Specified by:
getShortLE
in classio.netty.buffer.ByteBuf
-
getUnsignedShortLE
public int getUnsignedShortLE(int arg0) - Specified by:
getUnsignedShortLE
in classio.netty.buffer.ByteBuf
-
getMedium
public int getMedium(int arg0) - Specified by:
getMedium
in classio.netty.buffer.ByteBuf
-
getMediumLE
public int getMediumLE(int arg0) - Specified by:
getMediumLE
in classio.netty.buffer.ByteBuf
-
getUnsignedMedium
public int getUnsignedMedium(int arg0) - Specified by:
getUnsignedMedium
in classio.netty.buffer.ByteBuf
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int arg0) - Specified by:
getUnsignedMediumLE
in classio.netty.buffer.ByteBuf
-
getIntLE
public int getIntLE(int arg0) - Specified by:
getIntLE
in classio.netty.buffer.ByteBuf
-
getUnsignedIntLE
public long getUnsignedIntLE(int arg0) - Specified by:
getUnsignedIntLE
in classio.netty.buffer.ByteBuf
-
getLongLE
public long getLongLE(int arg0) - Specified by:
getLongLE
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1) - Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) - Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) - Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, byte[] arg1) - Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
public io.netty.buffer.ByteBuf getBytes(int arg0, byte[] arg1, int arg2, int arg3) - Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
-
getBytes
- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
getBytes
- Specified by:
getBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
getCharSequence
- Specified by:
getCharSequence
in classio.netty.buffer.ByteBuf
-
setBoolean
public io.netty.buffer.ByteBuf setBoolean(int arg0, boolean arg1) - Specified by:
setBoolean
in classio.netty.buffer.ByteBuf
-
setShortLE
public io.netty.buffer.ByteBuf setShortLE(int arg0, int arg1) - Specified by:
setShortLE
in classio.netty.buffer.ByteBuf
-
setMedium
public io.netty.buffer.ByteBuf setMedium(int arg0, int arg1) - Specified by:
setMedium
in classio.netty.buffer.ByteBuf
-
setMediumLE
public io.netty.buffer.ByteBuf setMediumLE(int arg0, int arg1) - Specified by:
setMediumLE
in classio.netty.buffer.ByteBuf
-
setIntLE
public io.netty.buffer.ByteBuf setIntLE(int arg0, int arg1) - Specified by:
setIntLE
in classio.netty.buffer.ByteBuf
-
setLongLE
public io.netty.buffer.ByteBuf setLongLE(int arg0, long arg1) - Specified by:
setLongLE
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1) - Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2) - Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2, int arg3) - Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, byte[] arg1) - Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
public io.netty.buffer.ByteBuf setBytes(int arg0, byte[] arg1, int arg2, int arg3) - Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
-
setBytes
- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
setBytes
- Specified by:
setBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
setZero
public io.netty.buffer.ByteBuf setZero(int arg0, int arg1) - Specified by:
setZero
in classio.netty.buffer.ByteBuf
-
setCharSequence
- Specified by:
setCharSequence
in classio.netty.buffer.ByteBuf
-
readBoolean
public boolean readBoolean()- Specified by:
readBoolean
in classio.netty.buffer.ByteBuf
-
readByte
public byte readByte()- Specified by:
readByte
in classio.netty.buffer.ByteBuf
-
readUnsignedByte
public short readUnsignedByte()- Specified by:
readUnsignedByte
in classio.netty.buffer.ByteBuf
-
readShort
public short readShort()- Specified by:
readShort
in classio.netty.buffer.ByteBuf
-
readShortLE
public short readShortLE()- Specified by:
readShortLE
in classio.netty.buffer.ByteBuf
-
readUnsignedShort
public int readUnsignedShort()- Specified by:
readUnsignedShort
in classio.netty.buffer.ByteBuf
-
readUnsignedShortLE
public int readUnsignedShortLE()- Specified by:
readUnsignedShortLE
in classio.netty.buffer.ByteBuf
-
readMedium
public int readMedium()- Specified by:
readMedium
in classio.netty.buffer.ByteBuf
-
readMediumLE
public int readMediumLE()- Specified by:
readMediumLE
in classio.netty.buffer.ByteBuf
-
readUnsignedMedium
public int readUnsignedMedium()- Specified by:
readUnsignedMedium
in classio.netty.buffer.ByteBuf
-
readUnsignedMediumLE
public int readUnsignedMediumLE()- Specified by:
readUnsignedMediumLE
in classio.netty.buffer.ByteBuf
-
readInt
public int readInt()- Specified by:
readInt
in classio.netty.buffer.ByteBuf
-
readIntLE
public int readIntLE()- Specified by:
readIntLE
in classio.netty.buffer.ByteBuf
-
readUnsignedInt
public long readUnsignedInt()- Specified by:
readUnsignedInt
in classio.netty.buffer.ByteBuf
-
readUnsignedIntLE
public long readUnsignedIntLE()- Specified by:
readUnsignedIntLE
in classio.netty.buffer.ByteBuf
-
readLong
public long readLong()- Specified by:
readLong
in classio.netty.buffer.ByteBuf
-
readLongLE
public long readLongLE()- Specified by:
readLongLE
in classio.netty.buffer.ByteBuf
-
readChar
public char readChar()- Specified by:
readChar
in classio.netty.buffer.ByteBuf
-
readFloat
public float readFloat()- Specified by:
readFloat
in classio.netty.buffer.ByteBuf
-
readDouble
public double readDouble()- Specified by:
readDouble
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(int arg0) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readSlice
public io.netty.buffer.ByteBuf readSlice(int arg0) - Specified by:
readSlice
in classio.netty.buffer.ByteBuf
-
readRetainedSlice
public io.netty.buffer.ByteBuf readRetainedSlice(int arg0) - Specified by:
readRetainedSlice
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0, int arg1) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] arg0) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
public io.netty.buffer.ByteBuf readBytes(byte[] arg0, int arg1, int arg2) - Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
-
readBytes
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
readBytes
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
readBytes
- Specified by:
readBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
readCharSequence
- Specified by:
readCharSequence
in classio.netty.buffer.ByteBuf
-
skipBytes
public io.netty.buffer.ByteBuf skipBytes(int arg0) - Specified by:
skipBytes
in classio.netty.buffer.ByteBuf
-
writeBoolean
public io.netty.buffer.ByteBuf writeBoolean(boolean arg0) - Specified by:
writeBoolean
in classio.netty.buffer.ByteBuf
-
writeByte
public io.netty.buffer.ByteBuf writeByte(int arg0) - Specified by:
writeByte
in classio.netty.buffer.ByteBuf
-
writeShortLE
public io.netty.buffer.ByteBuf writeShortLE(int arg0) - Specified by:
writeShortLE
in classio.netty.buffer.ByteBuf
-
writeMedium
public io.netty.buffer.ByteBuf writeMedium(int arg0) - Specified by:
writeMedium
in classio.netty.buffer.ByteBuf
-
writeMediumLE
public io.netty.buffer.ByteBuf writeMediumLE(int arg0) - Specified by:
writeMediumLE
in classio.netty.buffer.ByteBuf
-
writeIntLE
public io.netty.buffer.ByteBuf writeIntLE(int arg0) - Specified by:
writeIntLE
in classio.netty.buffer.ByteBuf
-
writeLongLE
public io.netty.buffer.ByteBuf writeLongLE(long arg0) - Specified by:
writeLongLE
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0) - Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0, int arg1) - Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) - Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] arg0) - Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
public io.netty.buffer.ByteBuf writeBytes(byte[] arg0, int arg1, int arg2) - Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
-
writeBytes
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in classio.netty.buffer.ByteBuf
- Throws:
IOException
-
writeZero
public io.netty.buffer.ByteBuf writeZero(int arg0) - Specified by:
writeZero
in classio.netty.buffer.ByteBuf
-
writeCharSequence
- Specified by:
writeCharSequence
in classio.netty.buffer.ByteBuf
-
indexOf
public int indexOf(int arg0, int arg1, byte arg2) - Specified by:
indexOf
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(byte arg0) - Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int arg0, byte arg1) - Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
bytesBefore
public int bytesBefore(int arg0, int arg1, byte arg2) - Specified by:
bytesBefore
in classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(io.netty.util.ByteProcessor arg0) - Specified by:
forEachByte
in classio.netty.buffer.ByteBuf
-
forEachByte
public int forEachByte(int arg0, int arg1, io.netty.util.ByteProcessor arg2) - Specified by:
forEachByte
in classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(io.netty.util.ByteProcessor arg0) - Specified by:
forEachByteDesc
in classio.netty.buffer.ByteBuf
-
forEachByteDesc
public int forEachByteDesc(int arg0, int arg1, io.netty.util.ByteProcessor arg2) - Specified by:
forEachByteDesc
in classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy()- Specified by:
copy
in classio.netty.buffer.ByteBuf
-
copy
public io.netty.buffer.ByteBuf copy(int arg0, int arg1) - Specified by:
copy
in classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice()- Specified by:
retainedSlice
in classio.netty.buffer.ByteBuf
-
retainedSlice
public io.netty.buffer.ByteBuf retainedSlice(int arg0, int arg1) - Specified by:
retainedSlice
in classio.netty.buffer.ByteBuf
-
duplicate
public io.netty.buffer.ByteBuf duplicate()- Specified by:
duplicate
in classio.netty.buffer.ByteBuf
-
retainedDuplicate
public io.netty.buffer.ByteBuf retainedDuplicate()- Specified by:
retainedDuplicate
in classio.netty.buffer.ByteBuf
-
nioBufferCount
public int nioBufferCount()- Specified by:
nioBufferCount
in classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBuffer
in classio.netty.buffer.ByteBuf
-
nioBuffer
- Specified by:
nioBuffer
in classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffers
in classio.netty.buffer.ByteBuf
-
nioBuffers
- Specified by:
nioBuffers
in classio.netty.buffer.ByteBuf
-
internalNioBuffer
- Specified by:
internalNioBuffer
in classio.netty.buffer.ByteBuf
-
hasArray
public boolean hasArray()- Specified by:
hasArray
in classio.netty.buffer.ByteBuf
-
array
public byte[] array()- Specified by:
array
in classio.netty.buffer.ByteBuf
-
arrayOffset
public int arrayOffset()- Specified by:
arrayOffset
in classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toString
in classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toString
in classio.netty.buffer.ByteBuf
-
compareTo
public int compareTo(io.netty.buffer.ByteBuf arg0) - Specified by:
compareTo
in interfaceComparable<io.netty.buffer.ByteBuf>
- Specified by:
compareTo
in classio.netty.buffer.ByteBuf
-
toString
- Specified by:
toString
in classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain(int arg0) - Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
- Specified by:
retain
in classio.netty.buffer.ByteBuf
-
retain
public io.netty.buffer.ByteBuf retain()- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
- Specified by:
retain
in classio.netty.buffer.ByteBuf
-
touch
public io.netty.buffer.ByteBuf touch()- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
- Specified by:
touch
in classio.netty.buffer.ByteBuf
-
touch
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
- Specified by:
touch
in classio.netty.buffer.ByteBuf
-
isReadable
public final boolean isReadable(int arg0) - Specified by:
isReadable
in classio.netty.buffer.ByteBuf
-
isWritable
public final boolean isWritable(int arg0) - Specified by:
isWritable
in classio.netty.buffer.ByteBuf
-
refCnt
public final int refCnt() -
release
public boolean release(int arg0)
-