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 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

      public io.netty.buffer.ByteBuf order(ByteOrder endianness)
    • 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 interface io.netty.util.ReferenceCounted
    • setBytes

      public int setBytes(int index, InputStream in, int length) throws IOException
      Throws:
      IOException
    • getBytes

      public io.netty.buffer.ByteBuf getBytes(int index, OutputStream out, int length) throws IOException
      Throws:
      IOException
    • hashCode

      public int hashCode()
    • equals

      public boolean equals(Object obj)
    • hasMemoryAddress

      public final boolean hasMemoryAddress()
      Specified by:
      hasMemoryAddress in class io.netty.buffer.ByteBuf
    • isContiguous

      public boolean isContiguous()
      Overrides:
      isContiguous in class io.netty.buffer.ByteBuf
    • memoryAddress

      public final long memoryAddress()
      Specified by:
      memoryAddress in class io.netty.buffer.ByteBuf
    • capacity

      public final int capacity()
      Specified by:
      capacity in class io.netty.buffer.ByteBuf
    • capacity

      public io.netty.buffer.ByteBuf capacity(int arg0)
      Specified by:
      capacity in class io.netty.buffer.ByteBuf
    • maxCapacity

      public final int maxCapacity()
      Specified by:
      maxCapacity in class io.netty.buffer.ByteBuf
    • alloc

      public final io.netty.buffer.ByteBufAllocator alloc()
      Specified by:
      alloc in class io.netty.buffer.ByteBuf
    • order

      public final ByteOrder order()
      Specified by:
      order in class io.netty.buffer.ByteBuf
    • unwrap

      public final io.netty.buffer.ByteBuf unwrap()
      Specified by:
      unwrap in class io.netty.buffer.ByteBuf
    • asReadOnly

      public io.netty.buffer.ByteBuf asReadOnly()
      Specified by:
      asReadOnly in class io.netty.buffer.ByteBuf
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in class io.netty.buffer.ByteBuf
    • isDirect

      public final boolean isDirect()
      Specified by:
      isDirect in class io.netty.buffer.ByteBuf
    • readerIndex

      public final int readerIndex()
      Specified by:
      readerIndex in class io.netty.buffer.ByteBuf
    • readerIndex

      public final io.netty.buffer.ByteBuf readerIndex(int arg0)
      Specified by:
      readerIndex in class io.netty.buffer.ByteBuf
    • writerIndex

      public final int writerIndex()
      Specified by:
      writerIndex in class io.netty.buffer.ByteBuf
    • writerIndex

      public final io.netty.buffer.ByteBuf writerIndex(int arg0)
      Specified by:
      writerIndex in class io.netty.buffer.ByteBuf
    • setIndex

      public io.netty.buffer.ByteBuf setIndex(int arg0, int arg1)
      Specified by:
      setIndex in class io.netty.buffer.ByteBuf
    • readableBytes

      public final int readableBytes()
      Specified by:
      readableBytes in class io.netty.buffer.ByteBuf
    • writableBytes

      public final int writableBytes()
      Specified by:
      writableBytes in class io.netty.buffer.ByteBuf
    • maxWritableBytes

      public final int maxWritableBytes()
      Specified by:
      maxWritableBytes in class io.netty.buffer.ByteBuf
    • maxFastWritableBytes

      public int maxFastWritableBytes()
      Overrides:
      maxFastWritableBytes in class io.netty.buffer.ByteBuf
    • isReadable

      public final boolean isReadable()
      Specified by:
      isReadable in class io.netty.buffer.ByteBuf
    • isWritable

      public final boolean isWritable()
      Specified by:
      isWritable in class io.netty.buffer.ByteBuf
    • clear

      public final io.netty.buffer.ByteBuf clear()
      Specified by:
      clear in class io.netty.buffer.ByteBuf
    • markReaderIndex

      public final io.netty.buffer.ByteBuf markReaderIndex()
      Specified by:
      markReaderIndex in class io.netty.buffer.ByteBuf
    • resetReaderIndex

      public final io.netty.buffer.ByteBuf resetReaderIndex()
      Specified by:
      resetReaderIndex in class io.netty.buffer.ByteBuf
    • markWriterIndex

      public final io.netty.buffer.ByteBuf markWriterIndex()
      Specified by:
      markWriterIndex in class io.netty.buffer.ByteBuf
    • resetWriterIndex

      public final io.netty.buffer.ByteBuf resetWriterIndex()
      Specified by:
      resetWriterIndex in class io.netty.buffer.ByteBuf
    • discardReadBytes

      public io.netty.buffer.ByteBuf discardReadBytes()
      Specified by:
      discardReadBytes in class io.netty.buffer.ByteBuf
    • discardSomeReadBytes

      public io.netty.buffer.ByteBuf discardSomeReadBytes()
      Specified by:
      discardSomeReadBytes in class io.netty.buffer.ByteBuf
    • ensureWritable

      public io.netty.buffer.ByteBuf ensureWritable(int arg0)
      Specified by:
      ensureWritable in class io.netty.buffer.ByteBuf
    • ensureWritable

      public int ensureWritable(int arg0, boolean arg1)
      Specified by:
      ensureWritable in class io.netty.buffer.ByteBuf
    • getBoolean

      public boolean getBoolean(int arg0)
      Specified by:
      getBoolean in class io.netty.buffer.ByteBuf
    • getUnsignedByte

      public short getUnsignedByte(int arg0)
      Specified by:
      getUnsignedByte in class io.netty.buffer.ByteBuf
    • getShortLE

      public short getShortLE(int arg0)
      Specified by:
      getShortLE in class io.netty.buffer.ByteBuf
    • getUnsignedShortLE

      public int getUnsignedShortLE(int arg0)
      Specified by:
      getUnsignedShortLE in class io.netty.buffer.ByteBuf
    • getMedium

      public int getMedium(int arg0)
      Specified by:
      getMedium in class io.netty.buffer.ByteBuf
    • getMediumLE

      public int getMediumLE(int arg0)
      Specified by:
      getMediumLE in class io.netty.buffer.ByteBuf
    • getUnsignedMedium

      public int getUnsignedMedium(int arg0)
      Specified by:
      getUnsignedMedium in class io.netty.buffer.ByteBuf
    • getUnsignedMediumLE

      public int getUnsignedMediumLE(int arg0)
      Specified by:
      getUnsignedMediumLE in class io.netty.buffer.ByteBuf
    • getIntLE

      public int getIntLE(int arg0)
      Specified by:
      getIntLE in class io.netty.buffer.ByteBuf
    • getUnsignedIntLE

      public long getUnsignedIntLE(int arg0)
      Specified by:
      getUnsignedIntLE in class io.netty.buffer.ByteBuf
    • getLongLE

      public long getLongLE(int arg0)
      Specified by:
      getLongLE in class io.netty.buffer.ByteBuf
    • getBytes

      public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public io.netty.buffer.ByteBuf getBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2)
      Specified by:
      getBytes in class io.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 class io.netty.buffer.ByteBuf
    • getBytes

      public io.netty.buffer.ByteBuf getBytes(int arg0, byte[] arg1)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public io.netty.buffer.ByteBuf getBytes(int arg0, byte[] arg1, int arg2, int arg3)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public io.netty.buffer.ByteBuf getBytes(int arg0, ByteBuffer arg1)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public int getBytes(int arg0, GatheringByteChannel arg1, int arg2) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getBytes

      public int getBytes(int arg0, FileChannel arg1, long arg2, int arg3) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getCharSequence

      public CharSequence getCharSequence(int arg0, int arg1, Charset arg2)
      Specified by:
      getCharSequence in class io.netty.buffer.ByteBuf
    • setBoolean

      public io.netty.buffer.ByteBuf setBoolean(int arg0, boolean arg1)
      Specified by:
      setBoolean in class io.netty.buffer.ByteBuf
    • setShortLE

      public io.netty.buffer.ByteBuf setShortLE(int arg0, int arg1)
      Specified by:
      setShortLE in class io.netty.buffer.ByteBuf
    • setMedium

      public io.netty.buffer.ByteBuf setMedium(int arg0, int arg1)
      Specified by:
      setMedium in class io.netty.buffer.ByteBuf
    • setMediumLE

      public io.netty.buffer.ByteBuf setMediumLE(int arg0, int arg1)
      Specified by:
      setMediumLE in class io.netty.buffer.ByteBuf
    • setIntLE

      public io.netty.buffer.ByteBuf setIntLE(int arg0, int arg1)
      Specified by:
      setIntLE in class io.netty.buffer.ByteBuf
    • setLongLE

      public io.netty.buffer.ByteBuf setLongLE(int arg0, long arg1)
      Specified by:
      setLongLE in class io.netty.buffer.ByteBuf
    • setBytes

      public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public io.netty.buffer.ByteBuf setBytes(int arg0, io.netty.buffer.ByteBuf arg1, int arg2)
      Specified by:
      setBytes in class io.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 class io.netty.buffer.ByteBuf
    • setBytes

      public io.netty.buffer.ByteBuf setBytes(int arg0, byte[] arg1)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public io.netty.buffer.ByteBuf setBytes(int arg0, byte[] arg1, int arg2, int arg3)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public io.netty.buffer.ByteBuf setBytes(int arg0, ByteBuffer arg1)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public int setBytes(int arg0, ScatteringByteChannel arg1, int arg2) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setBytes

      public int setBytes(int arg0, FileChannel arg1, long arg2, int arg3) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setZero

      public io.netty.buffer.ByteBuf setZero(int arg0, int arg1)
      Specified by:
      setZero in class io.netty.buffer.ByteBuf
    • setCharSequence

      public int setCharSequence(int arg0, CharSequence arg1, Charset arg2)
      Specified by:
      setCharSequence in class io.netty.buffer.ByteBuf
    • readBoolean

      public boolean readBoolean()
      Specified by:
      readBoolean in class io.netty.buffer.ByteBuf
    • readByte

      public byte readByte()
      Specified by:
      readByte in class io.netty.buffer.ByteBuf
    • readUnsignedByte

      public short readUnsignedByte()
      Specified by:
      readUnsignedByte in class io.netty.buffer.ByteBuf
    • readShort

      public short readShort()
      Specified by:
      readShort in class io.netty.buffer.ByteBuf
    • readShortLE

      public short readShortLE()
      Specified by:
      readShortLE in class io.netty.buffer.ByteBuf
    • readUnsignedShort

      public int readUnsignedShort()
      Specified by:
      readUnsignedShort in class io.netty.buffer.ByteBuf
    • readUnsignedShortLE

      public int readUnsignedShortLE()
      Specified by:
      readUnsignedShortLE in class io.netty.buffer.ByteBuf
    • readMedium

      public int readMedium()
      Specified by:
      readMedium in class io.netty.buffer.ByteBuf
    • readMediumLE

      public int readMediumLE()
      Specified by:
      readMediumLE in class io.netty.buffer.ByteBuf
    • readUnsignedMedium

      public int readUnsignedMedium()
      Specified by:
      readUnsignedMedium in class io.netty.buffer.ByteBuf
    • readUnsignedMediumLE

      public int readUnsignedMediumLE()
      Specified by:
      readUnsignedMediumLE in class io.netty.buffer.ByteBuf
    • readInt

      public int readInt()
      Specified by:
      readInt in class io.netty.buffer.ByteBuf
    • readIntLE

      public int readIntLE()
      Specified by:
      readIntLE in class io.netty.buffer.ByteBuf
    • readUnsignedInt

      public long readUnsignedInt()
      Specified by:
      readUnsignedInt in class io.netty.buffer.ByteBuf
    • readUnsignedIntLE

      public long readUnsignedIntLE()
      Specified by:
      readUnsignedIntLE in class io.netty.buffer.ByteBuf
    • readLong

      public long readLong()
      Specified by:
      readLong in class io.netty.buffer.ByteBuf
    • readLongLE

      public long readLongLE()
      Specified by:
      readLongLE in class io.netty.buffer.ByteBuf
    • readChar

      public char readChar()
      Specified by:
      readChar in class io.netty.buffer.ByteBuf
    • readFloat

      public float readFloat()
      Specified by:
      readFloat in class io.netty.buffer.ByteBuf
    • readDouble

      public double readDouble()
      Specified by:
      readDouble in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(int arg0)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readSlice

      public io.netty.buffer.ByteBuf readSlice(int arg0)
      Specified by:
      readSlice in class io.netty.buffer.ByteBuf
    • readRetainedSlice

      public io.netty.buffer.ByteBuf readRetainedSlice(int arg0)
      Specified by:
      readRetainedSlice in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0, int arg1)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(byte[] arg0)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(byte[] arg0, int arg1, int arg2)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(ByteBuffer arg0)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

      public io.netty.buffer.ByteBuf readBytes(OutputStream arg0, int arg1) throws IOException
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • readBytes

      public int readBytes(GatheringByteChannel arg0, int arg1) throws IOException
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • readBytes

      public int readBytes(FileChannel arg0, long arg1, int arg2) throws IOException
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • readCharSequence

      public CharSequence readCharSequence(int arg0, Charset arg1)
      Specified by:
      readCharSequence in class io.netty.buffer.ByteBuf
    • skipBytes

      public io.netty.buffer.ByteBuf skipBytes(int arg0)
      Specified by:
      skipBytes in class io.netty.buffer.ByteBuf
    • writeBoolean

      public io.netty.buffer.ByteBuf writeBoolean(boolean arg0)
      Specified by:
      writeBoolean in class io.netty.buffer.ByteBuf
    • writeByte

      public io.netty.buffer.ByteBuf writeByte(int arg0)
      Specified by:
      writeByte in class io.netty.buffer.ByteBuf
    • writeShortLE

      public io.netty.buffer.ByteBuf writeShortLE(int arg0)
      Specified by:
      writeShortLE in class io.netty.buffer.ByteBuf
    • writeMedium

      public io.netty.buffer.ByteBuf writeMedium(int arg0)
      Specified by:
      writeMedium in class io.netty.buffer.ByteBuf
    • writeMediumLE

      public io.netty.buffer.ByteBuf writeMediumLE(int arg0)
      Specified by:
      writeMediumLE in class io.netty.buffer.ByteBuf
    • writeIntLE

      public io.netty.buffer.ByteBuf writeIntLE(int arg0)
      Specified by:
      writeIntLE in class io.netty.buffer.ByteBuf
    • writeLongLE

      public io.netty.buffer.ByteBuf writeLongLE(long arg0)
      Specified by:
      writeLongLE in class io.netty.buffer.ByteBuf
    • writeBytes

      public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0, int arg1)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf arg0, int arg1, int arg2)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public io.netty.buffer.ByteBuf writeBytes(byte[] arg0)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public io.netty.buffer.ByteBuf writeBytes(byte[] arg0, int arg1, int arg2)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public io.netty.buffer.ByteBuf writeBytes(ByteBuffer arg0)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

      public int writeBytes(InputStream arg0, int arg1) throws IOException
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • writeBytes

      public int writeBytes(ScatteringByteChannel arg0, int arg1) throws IOException
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • writeBytes

      public int writeBytes(FileChannel arg0, long arg1, int arg2) throws IOException
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • writeZero

      public io.netty.buffer.ByteBuf writeZero(int arg0)
      Specified by:
      writeZero in class io.netty.buffer.ByteBuf
    • writeCharSequence

      public int writeCharSequence(CharSequence arg0, Charset arg1)
      Specified by:
      writeCharSequence in class io.netty.buffer.ByteBuf
    • indexOf

      public int indexOf(int arg0, int arg1, byte arg2)
      Specified by:
      indexOf in class io.netty.buffer.ByteBuf
    • bytesBefore

      public int bytesBefore(byte arg0)
      Specified by:
      bytesBefore in class io.netty.buffer.ByteBuf
    • bytesBefore

      public int bytesBefore(int arg0, byte arg1)
      Specified by:
      bytesBefore in class io.netty.buffer.ByteBuf
    • bytesBefore

      public int bytesBefore(int arg0, int arg1, byte arg2)
      Specified by:
      bytesBefore in class io.netty.buffer.ByteBuf
    • forEachByte

      public int forEachByte(io.netty.util.ByteProcessor arg0)
      Specified by:
      forEachByte in class io.netty.buffer.ByteBuf
    • forEachByte

      public int forEachByte(int arg0, int arg1, io.netty.util.ByteProcessor arg2)
      Specified by:
      forEachByte in class io.netty.buffer.ByteBuf
    • forEachByteDesc

      public int forEachByteDesc(io.netty.util.ByteProcessor arg0)
      Specified by:
      forEachByteDesc in class io.netty.buffer.ByteBuf
    • forEachByteDesc

      public int forEachByteDesc(int arg0, int arg1, io.netty.util.ByteProcessor arg2)
      Specified by:
      forEachByteDesc in class io.netty.buffer.ByteBuf
    • copy

      public io.netty.buffer.ByteBuf copy()
      Specified by:
      copy in class io.netty.buffer.ByteBuf
    • copy

      public io.netty.buffer.ByteBuf copy(int arg0, int arg1)
      Specified by:
      copy in class io.netty.buffer.ByteBuf
    • retainedSlice

      public io.netty.buffer.ByteBuf retainedSlice()
      Specified by:
      retainedSlice in class io.netty.buffer.ByteBuf
    • retainedSlice

      public io.netty.buffer.ByteBuf retainedSlice(int arg0, int arg1)
      Specified by:
      retainedSlice in class io.netty.buffer.ByteBuf
    • duplicate

      public io.netty.buffer.ByteBuf duplicate()
      Specified by:
      duplicate in class io.netty.buffer.ByteBuf
    • retainedDuplicate

      public io.netty.buffer.ByteBuf retainedDuplicate()
      Specified by:
      retainedDuplicate in class io.netty.buffer.ByteBuf
    • nioBufferCount

      public int nioBufferCount()
      Specified by:
      nioBufferCount in class io.netty.buffer.ByteBuf
    • nioBuffer

      public ByteBuffer nioBuffer()
      Specified by:
      nioBuffer in class io.netty.buffer.ByteBuf
    • nioBuffer

      public ByteBuffer nioBuffer(int arg0, int arg1)
      Specified by:
      nioBuffer in class io.netty.buffer.ByteBuf
    • nioBuffers

      public ByteBuffer[] nioBuffers()
      Specified by:
      nioBuffers in class io.netty.buffer.ByteBuf
    • nioBuffers

      public ByteBuffer[] nioBuffers(int arg0, int arg1)
      Specified by:
      nioBuffers in class io.netty.buffer.ByteBuf
    • internalNioBuffer

      public ByteBuffer internalNioBuffer(int arg0, int arg1)
      Specified by:
      internalNioBuffer in class io.netty.buffer.ByteBuf
    • hasArray

      public boolean hasArray()
      Specified by:
      hasArray in class io.netty.buffer.ByteBuf
    • array

      public byte[] array()
      Specified by:
      array in class io.netty.buffer.ByteBuf
    • arrayOffset

      public int arrayOffset()
      Specified by:
      arrayOffset in class io.netty.buffer.ByteBuf
    • toString

      public String toString(Charset arg0)
      Specified by:
      toString in class io.netty.buffer.ByteBuf
    • toString

      public String toString(int arg0, int arg1, Charset arg2)
      Specified by:
      toString in class io.netty.buffer.ByteBuf
    • compareTo

      public int compareTo(io.netty.buffer.ByteBuf arg0)
      Specified by:
      compareTo in interface Comparable<io.netty.buffer.ByteBuf>
      Specified by:
      compareTo in class io.netty.buffer.ByteBuf
    • toString

      public String toString()
      Specified by:
      toString in class io.netty.buffer.ByteBuf
    • retain

      public io.netty.buffer.ByteBuf retain(int arg0)
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
      Specified by:
      retain in class io.netty.buffer.ByteBuf
    • retain

      public io.netty.buffer.ByteBuf retain()
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
      Specified by:
      retain in class io.netty.buffer.ByteBuf
    • touch

      public io.netty.buffer.ByteBuf touch()
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
      Specified by:
      touch in class io.netty.buffer.ByteBuf
    • touch

      public io.netty.buffer.ByteBuf touch(Object arg0)
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
      Specified by:
      touch in class io.netty.buffer.ByteBuf
    • isReadable

      public final boolean isReadable(int arg0)
      Specified by:
      isReadable in class io.netty.buffer.ByteBuf
    • isWritable

      public final boolean isWritable(int arg0)
      Specified by:
      isWritable in class io.netty.buffer.ByteBuf
    • refCnt

      public final int refCnt()
    • release

      public boolean release(int arg0)