Class ByteBufAllocationOperatorModernImpl
java.lang.Object
io.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperatorModernImpl
- All Implemented Interfaces:
com.github.retrooper.packetevents.netty.buffer.ByteBufAllocationOperator
public class ByteBufAllocationOperatorModernImpl
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
-
ByteBufAllocationOperatorModernImpl
public ByteBufAllocationOperatorModernImpl()
-
-
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
-