Class ExtendedByteBufJava
- java.lang.Object
-
- org.infinispan.server.core.transport.ExtendedByteBufJava
-
public class ExtendedByteBufJava extends Object
Utilities to read from aByteBuf
- Since:
- 9.0
- Author:
- wburns
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
readMaybeRangedBytes(io.netty.buffer.ByteBuf bf)
static byte[]
readMaybeRangedBytes(io.netty.buffer.ByteBuf bf, int length)
static int
readMaybeVInt(io.netty.buffer.ByteBuf buf)
static long
readMaybeVLong(io.netty.buffer.ByteBuf buf)
static long
readUnsignedMaybeLong(io.netty.buffer.ByteBuf buf)
-
-
-
Method Detail
-
readUnsignedMaybeLong
public static long readUnsignedMaybeLong(io.netty.buffer.ByteBuf buf)
-
readMaybeVLong
public static long readMaybeVLong(io.netty.buffer.ByteBuf buf)
-
readMaybeVInt
public static int readMaybeVInt(io.netty.buffer.ByteBuf buf)
-
readMaybeRangedBytes
public static byte[] readMaybeRangedBytes(io.netty.buffer.ByteBuf bf)
-
readMaybeRangedBytes
public static byte[] readMaybeRangedBytes(io.netty.buffer.ByteBuf bf, int length)
-
-