Class ByteBufHelper
java.lang.Object
com.github.retrooper.packetevents.netty.buffer.ByteBufHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
static int
static Object
static Object
static Object
static byte[]
static Object
static Object
static short
getUnsignedByte
(Object buffer, int index) static boolean
static boolean
isReadable
(Object buffer) static Object
markReaderIndex
(Object buffer) static Object
markWriterIndex
(Object buffer) static int
readableBytes
(Object buffer) static boolean
readBoolean
(Object buffer) static byte
static void
static Object
static Object
static char
static double
readDouble
(Object buffer) static int
readerIndex
(Object buffer) static Object
readerIndex
(Object buffer, int readerIndex) static float
static int
static long
static int
readMedium
(Object buffer) static short
static Object
static short
readUnsignedByte
(Object buffer) static long
readUnsignedInt
(Object buffer) static int
readUnsignedShort
(Object buffer) static int
readVarInt
(Object buffer) static int
static boolean
static Object
resetReaderIndex
(Object buffer) static Object
resetWriterIndex
(Object buffer) static Object
static Object
retainedDuplicate
(Object buffer) static Object
static String
static int
writableBytes
(Object buffer) static void
writeBoolean
(Object buffer, boolean value) static void
static void
writeBytes
(Object buffer, byte[] bytes) static void
writeBytes
(Object buffer, byte[] bytes, int offset, int length) static Object
writeBytes
(Object buffer, Object src) static void
static void
writeDouble
(Object buffer, double value) static void
writeFloat
(Object buffer, float value) static void
static void
static void
writeMedium
(Object buffer, int value) static int
writerIndex
(Object buffer) static Object
writerIndex
(Object buffer, int writerIndex) static void
writeShort
(Object buffer, int value) static void
writeVarInt
(Object buffer, int value)
-
Constructor Details
-
ByteBufHelper
public ByteBufHelper()
-
-
Method Details
-
capacity
-
capacity
-
readerIndex
-
readerIndex
-
writerIndex
-
writerIndex
-
readableBytes
-
writableBytes
-
clear
-
toString
-
readByte
-
writeByte
-
readBoolean
-
writeBoolean
-
readUnsignedByte
-
readChar
-
writeChar
-
readShort
-
readUnsignedShort
-
writeShort
-
readMedium
-
writeMedium
-
readInt
-
writeInt
-
readUnsignedInt
-
readLong
-
writeLong
-
readFloat
-
writeFloat
-
readDouble
-
writeDouble
-
getBytes
-
getUnsignedByte
-
isReadable
-
copy
-
duplicate
-
hasArray
-
array
-
retain
-
retainedDuplicate
-
readSlice
-
readBytes
-
readBytes
-
writeBytes
-
readBytes
-
writeBytes
-
writeBytes
-
release
-
refCnt
-
skipBytes
-
markReaderIndex
-
resetReaderIndex
-
markWriterIndex
-
resetWriterIndex
-
readVarInt
-
writeVarInt
-
copyBytes
-