Class ExtendedByteBufJava

java.lang.Object
org.infinispan.server.core.transport.ExtendedByteBufJava

public class ExtendedByteBufJava extends Object
Utilities to read from a ByteBuf
Since:
9.0
Author:
wburns
  • Method Details

    • 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)
    • readString

      public static String readString(io.netty.buffer.ByteBuf bf)
    • readMaybeRangedBytes

      public static byte[] readMaybeRangedBytes(io.netty.buffer.ByteBuf bf)
    • readMaybeRangedBytes

      public static byte[] readMaybeRangedBytes(io.netty.buffer.ByteBuf bf, int length)