Class ByteBufAllocationOperatorImpl

java.lang.Object
io.github.retrooper.packetevents.impl.netty.buffer.ByteBufAllocationOperatorImpl
All Implemented Interfaces:
com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator

public class ByteBufAllocationOperatorImpl extends Object implements com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
  • Constructor Details

    • ByteBufAllocationOperatorImpl

      public ByteBufAllocationOperatorImpl()
  • Method Details

    • wrappedBuffer

      public Object wrappedBuffer(byte[] bytes)
      Specified by:
      wrappedBuffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
    • copiedBuffer

      public Object copiedBuffer(byte[] bytes)
      Specified by:
      copiedBuffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
    • buffer

      public Object buffer()
      Specified by:
      buffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
    • buffer

      public Object buffer(int initialCapacity)
      Specified by:
      buffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
    • directBuffer

      public Object directBuffer()
      Specified by:
      directBuffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
    • directBuffer

      public Object directBuffer(int initialCapacity)
      Specified by:
      directBuffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
    • compositeBuffer

      public Object compositeBuffer()
      Specified by:
      compositeBuffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
    • compositeBuffer

      public Object compositeBuffer(int maxNumComponents)
      Specified by:
      compositeBuffer in interface com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator