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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuffer()
buffer
(int initialCapacity) compositeBuffer
(int maxNumComponents) copiedBuffer
(byte[] bytes) directBuffer
(int initialCapacity) wrappedBuffer
(byte[] bytes)
-
Constructor Details
-
ByteBufAllocationOperatorImpl
public ByteBufAllocationOperatorImpl()
-
-
Method Details
-
wrappedBuffer
- Specified by:
wrappedBuffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-
copiedBuffer
- Specified by:
copiedBuffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-
buffer
- Specified by:
buffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-
buffer
- Specified by:
buffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-
directBuffer
- Specified by:
directBuffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-
directBuffer
- Specified by:
directBuffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-
compositeBuffer
- Specified by:
compositeBuffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-
compositeBuffer
- Specified by:
compositeBuffer
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
-