Class FriendlyByteBuf

java.lang.Object
io.netty.buffer.ByteBuf
io.lumine.mythic.core.utils.FriendlyByteBuf
All Implemented Interfaces:
io.netty.util.ReferenceCounted, Comparable<io.netty.buffer.ByteBuf>

public class FriendlyByteBuf extends io.netty.buffer.ByteBuf
  • Constructor Details

    • FriendlyByteBuf

      public FriendlyByteBuf(io.netty.buffer.ByteBuf bytebuf)
  • Method Details

    • writeVarInt

      public FriendlyByteBuf writeVarInt(int i)
    • writeUtf

      public FriendlyByteBuf writeUtf(String s)
    • writeUtf

      public FriendlyByteBuf writeUtf(String s, int i)
    • capacity

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public 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 i)
      Specified by:
      ensureWritable in class io.netty.buffer.ByteBuf
    • ensureWritable

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

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

      public byte getByte(int i)
      Specified by:
      getByte in class io.netty.buffer.ByteBuf
    • getUnsignedByte

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public char getChar(int i)
      Specified by:
      getChar in class io.netty.buffer.ByteBuf
    • getFloat

      public float getFloat(int i)
      Specified by:
      getFloat in class io.netty.buffer.ByteBuf
    • getDouble

      public double getDouble(int i)
      Specified by:
      getDouble in class io.netty.buffer.ByteBuf
    • getBytes

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

      public io.netty.buffer.ByteBuf getBytes(int i, io.netty.buffer.ByteBuf bytebuf, int j)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

      public io.netty.buffer.ByteBuf getBytes(int i, io.netty.buffer.ByteBuf bytebuf, int j, int k)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

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

      public io.netty.buffer.ByteBuf getBytes(int i, byte[] abyte, int j, int k)
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
    • getBytes

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

      public io.netty.buffer.ByteBuf getBytes(int i, OutputStream outputstream, int j) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getBytes

      public int getBytes(int i, GatheringByteChannel gatheringbytechannel, int j) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getBytes

      public int getBytes(int i, FileChannel filechannel, long j, int k) throws IOException
      Specified by:
      getBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • getCharSequence

      public CharSequence getCharSequence(int i, int j, Charset charset)
      Specified by:
      getCharSequence in class io.netty.buffer.ByteBuf
    • setBoolean

      public io.netty.buffer.ByteBuf setBoolean(int i, boolean flag)
      Specified by:
      setBoolean in class io.netty.buffer.ByteBuf
    • setByte

      public io.netty.buffer.ByteBuf setByte(int i, int j)
      Specified by:
      setByte in class io.netty.buffer.ByteBuf
    • setShort

      public io.netty.buffer.ByteBuf setShort(int i, int j)
      Specified by:
      setShort in class io.netty.buffer.ByteBuf
    • setShortLE

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

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

      public io.netty.buffer.ByteBuf setMediumLE(int i, int j)
      Specified by:
      setMediumLE in class io.netty.buffer.ByteBuf
    • setInt

      public io.netty.buffer.ByteBuf setInt(int i, int j)
      Specified by:
      setInt in class io.netty.buffer.ByteBuf
    • setIntLE

      public io.netty.buffer.ByteBuf setIntLE(int i, int j)
      Specified by:
      setIntLE in class io.netty.buffer.ByteBuf
    • setLong

      public io.netty.buffer.ByteBuf setLong(int i, long j)
      Specified by:
      setLong in class io.netty.buffer.ByteBuf
    • setLongLE

      public io.netty.buffer.ByteBuf setLongLE(int i, long j)
      Specified by:
      setLongLE in class io.netty.buffer.ByteBuf
    • setChar

      public io.netty.buffer.ByteBuf setChar(int i, int j)
      Specified by:
      setChar in class io.netty.buffer.ByteBuf
    • setFloat

      public io.netty.buffer.ByteBuf setFloat(int i, float f)
      Specified by:
      setFloat in class io.netty.buffer.ByteBuf
    • setDouble

      public io.netty.buffer.ByteBuf setDouble(int i, double d0)
      Specified by:
      setDouble in class io.netty.buffer.ByteBuf
    • setBytes

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

      public io.netty.buffer.ByteBuf setBytes(int i, io.netty.buffer.ByteBuf bytebuf, int j)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

      public io.netty.buffer.ByteBuf setBytes(int i, io.netty.buffer.ByteBuf bytebuf, int j, int k)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

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

      public io.netty.buffer.ByteBuf setBytes(int i, byte[] abyte, int j, int k)
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
    • setBytes

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

      public int setBytes(int i, InputStream inputstream, int j) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setBytes

      public int setBytes(int i, ScatteringByteChannel scatteringbytechannel, int j) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setBytes

      public int setBytes(int i, FileChannel filechannel, long j, int k) throws IOException
      Specified by:
      setBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • setZero

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

      public int setCharSequence(int i, CharSequence charsequence, Charset charset)
      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 i)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readSlice

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

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

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

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

      public io.netty.buffer.ByteBuf readBytes(io.netty.buffer.ByteBuf bytebuf, int i, int j)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

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

      public io.netty.buffer.ByteBuf readBytes(byte[] abyte, int i, int j)
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
    • readBytes

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

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

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

      public CharSequence readCharSequence(int i, Charset charset)
      Specified by:
      readCharSequence in class io.netty.buffer.ByteBuf
    • readBytes

      public int readBytes(FileChannel filechannel, long i, int j) throws IOException
      Specified by:
      readBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • skipBytes

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

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

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

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

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

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

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

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

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

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

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

      public io.netty.buffer.ByteBuf writeChar(int i)
      Specified by:
      writeChar in class io.netty.buffer.ByteBuf
    • writeFloat

      public io.netty.buffer.ByteBuf writeFloat(float f)
      Specified by:
      writeFloat in class io.netty.buffer.ByteBuf
    • writeDouble

      public io.netty.buffer.ByteBuf writeDouble(double d0)
      Specified by:
      writeDouble in class io.netty.buffer.ByteBuf
    • writeBytes

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

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

      public io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf bytebuf, int i, int j)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

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

      public io.netty.buffer.ByteBuf writeBytes(byte[] abyte, int i, int j)
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
    • writeBytes

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

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

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

      public int writeBytes(FileChannel filechannel, long i, int j) throws IOException
      Specified by:
      writeBytes in class io.netty.buffer.ByteBuf
      Throws:
      IOException
    • writeZero

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

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

      public int indexOf(int i, int j, byte b0)
      Specified by:
      indexOf in class io.netty.buffer.ByteBuf
    • bytesBefore

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

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

      public int bytesBefore(int i, int j, byte b0)
      Specified by:
      bytesBefore in class io.netty.buffer.ByteBuf
    • forEachByte

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

      public int forEachByte(int i, int j, io.netty.util.ByteProcessor byteprocessor)
      Specified by:
      forEachByte in class io.netty.buffer.ByteBuf
    • forEachByteDesc

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

      public int forEachByteDesc(int i, int j, io.netty.util.ByteProcessor byteprocessor)
      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 i, int j)
      Specified by:
      copy in class io.netty.buffer.ByteBuf
    • slice

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

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

      public io.netty.buffer.ByteBuf slice(int i, int j)
      Specified by:
      slice in class io.netty.buffer.ByteBuf
    • retainedSlice

      public io.netty.buffer.ByteBuf retainedSlice(int i, int j)
      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 i, int j)
      Specified by:
      nioBuffer in class io.netty.buffer.ByteBuf
    • internalNioBuffer

      public ByteBuffer internalNioBuffer(int i, int j)
      Specified by:
      internalNioBuffer in class io.netty.buffer.ByteBuf
    • nioBuffers

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

      public ByteBuffer[] nioBuffers(int i, int j)
      Specified by:
      nioBuffers 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
    • hasMemoryAddress

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

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

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

      public String toString(int i, int j, Charset charset)
      Specified by:
      toString in class io.netty.buffer.ByteBuf
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class io.netty.buffer.ByteBuf
    • equals

      public boolean equals(Object object)
      Specified by:
      equals in class io.netty.buffer.ByteBuf
    • compareTo

      public int compareTo(io.netty.buffer.ByteBuf bytebuf)
      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 i)
      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 object)
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
      Specified by:
      touch in class io.netty.buffer.ByteBuf
    • refCnt

      public int refCnt()
    • release

      public boolean release()
    • release

      public boolean release(int i)