Interface ByteBufOperator


public interface ByteBufOperator
  • Method Details

    • capacity

      int capacity(Object buffer)
    • capacity

      Object capacity(Object buffer, int capacity)
    • readerIndex

      int readerIndex(Object buffer)
    • readerIndex

      Object readerIndex(Object buffer, int readerIndex)
    • writerIndex

      int writerIndex(Object buffer)
    • writerIndex

      Object writerIndex(Object buffer, int writerIndex)
    • readableBytes

      int readableBytes(Object buffer)
    • writableBytes

      int writableBytes(Object buffer)
    • clear

      Object clear(Object buffer)
    • readByte

      byte readByte(Object buffer)
    • readShort

      short readShort(Object buffer)
    • readMedium

      int readMedium(Object buffer)
    • readInt

      int readInt(Object buffer)
    • readUnsignedInt

      long readUnsignedInt(Object buffer)
    • readLong

      long readLong(Object buffer)
    • writeByte

      void writeByte(Object buffer, int value)
    • writeShort

      void writeShort(Object buffer, int value)
    • writeMedium

      void writeMedium(Object buffer, int value)
    • writeInt

      void writeInt(Object buffer, int value)
    • writeLong

      void writeLong(Object buffer, long value)
    • getBytes

      Object getBytes(Object buffer, int index, byte[] destination)
    • getUnsignedByte

      short getUnsignedByte(Object buffer, int index)
    • isReadable

      boolean isReadable(Object buffer)
    • copy

      Object copy(Object buffer)
    • duplicate

      Object duplicate(Object buffer)
    • hasArray

      boolean hasArray(Object buffer)
    • array

      byte[] array(Object buffer)
    • retain

      Object retain(Object buffer)
    • retainedDuplicate

      Object retainedDuplicate(Object buffer)
    • readSlice

      Object readSlice(Object buffer, int length)
    • readBytes

      Object readBytes(Object buffer, byte[] destination, int destinationIndex, int length)
    • readBytes

      Object readBytes(Object buffer, int length)
    • readBytes

      void readBytes(Object buffer, byte[] bytes)
    • writeBytes

      Object writeBytes(Object buffer, Object src)
    • writeBytes

      Object writeBytes(Object buffer, byte[] bytes)
    • writeBytes

      Object writeBytes(Object buffer, byte[] bytes, int offset, int length)
    • release

      boolean release(Object buffer)
    • refCnt

      int refCnt(Object buffer)
    • skipBytes

      Object skipBytes(Object buffer, int length)
    • toString

      String toString(Object buffer, int index, int length, Charset charset)
    • markReaderIndex

      Object markReaderIndex(Object buffer)
    • resetReaderIndex

      Object resetReaderIndex(Object buffer)
    • markWriterIndex

      Object markWriterIndex(Object buffer)
    • resetWriterIndex

      Object resetWriterIndex(Object buffer)
    • readFloat

      default float readFloat(Object buffer)
    • writeFloat

      default void writeFloat(Object buffer, float value)
    • readDouble

      default double readDouble(Object buffer)
    • writeDouble

      default void writeDouble(Object buffer, double value)
    • readChar

      default char readChar(Object buffer)
    • writeChar

      default void writeChar(Object buffer, int value)
    • readUnsignedShort

      default int readUnsignedShort(Object buffer)
    • readUnsignedByte

      default short readUnsignedByte(Object buffer)
    • readBoolean

      default boolean readBoolean(Object buffer)
    • writeBoolean

      default void writeBoolean(Object buffer, boolean value)