Class ByteBufOperatorModernImpl
java.lang.Object
io.github.retrooper.packetevents.netty.buffer.ByteBufOperatorModernImpl
- All Implemented Interfaces:
com.github.retrooper.packetevents.netty.buffer.ByteBufOperator
public class ByteBufOperatorModernImpl
extends Object
implements com.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
short
getUnsignedByte
(Object buffer, int index) boolean
boolean
isReadable
(Object buffer) markReaderIndex
(Object buffer) markWriterIndex
(Object buffer) int
readableBytes
(Object buffer) byte
void
int
readerIndex
(Object buffer) readerIndex
(Object buffer, int readerIndex) int
long
int
readMedium
(Object buffer) short
long
readUnsignedInt
(Object buffer) int
boolean
resetReaderIndex
(Object buffer) resetWriterIndex
(Object buffer) retainedDuplicate
(Object buffer) int
writableBytes
(Object buffer) void
writeBytes
(Object buffer, byte[] bytes) writeBytes
(Object buffer, byte[] bytes, int offset, int length) writeBytes
(Object buffer, Object src) void
void
void
writeMedium
(Object buffer, int value) int
writerIndex
(Object buffer) writerIndex
(Object buffer, int writerIndex) void
writeShort
(Object buffer, int value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.netty.buffer.ByteBufOperator
readBoolean, readChar, readDouble, readFloat, readUnsignedByte, readUnsignedShort, writeBoolean, writeChar, writeDouble, writeFloat
-
Constructor Details
-
ByteBufOperatorModernImpl
public ByteBufOperatorModernImpl()
-
-
Method Details
-
capacity
- Specified by:
capacity
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
capacity
- Specified by:
capacity
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readerIndex
- Specified by:
readerIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readerIndex
- Specified by:
readerIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writerIndex
- Specified by:
writerIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writerIndex
- Specified by:
writerIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readableBytes
- Specified by:
readableBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writableBytes
- Specified by:
writableBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
clear
- Specified by:
clear
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readByte
- Specified by:
readByte
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readShort
- Specified by:
readShort
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readMedium
- Specified by:
readMedium
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readInt
- Specified by:
readInt
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readUnsignedInt
- Specified by:
readUnsignedInt
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readLong
- Specified by:
readLong
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeByte
- Specified by:
writeByte
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeShort
- Specified by:
writeShort
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeMedium
- Specified by:
writeMedium
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeInt
- Specified by:
writeInt
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeLong
- Specified by:
writeLong
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
getBytes
- Specified by:
getBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
getUnsignedByte
- Specified by:
getUnsignedByte
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
isReadable
- Specified by:
isReadable
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
copy
- Specified by:
copy
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
duplicate
- Specified by:
duplicate
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
hasArray
- Specified by:
hasArray
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
array
- Specified by:
array
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
retain
- Specified by:
retain
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
retainedDuplicate
- Specified by:
retainedDuplicate
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readSlice
- Specified by:
readSlice
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readBytes
- Specified by:
readBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readBytes
- Specified by:
readBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeBytes
- Specified by:
writeBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeBytes
- Specified by:
writeBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
writeBytes
- Specified by:
writeBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
readBytes
- Specified by:
readBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
release
- Specified by:
release
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
refCnt
- Specified by:
refCnt
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
skipBytes
- Specified by:
skipBytes
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
toString
- Specified by:
toString
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
markReaderIndex
- Specified by:
markReaderIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
resetReaderIndex
- Specified by:
resetReaderIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
markWriterIndex
- Specified by:
markWriterIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-
resetWriterIndex
- Specified by:
resetWriterIndex
in interfacecom.github.retrooper.packetevents.netty.buffer.ByteBufOperator
-