Class ByteBufUtils

java.lang.Object
io.gatling.netty.util.ByteBufUtils

public final class ByteBufUtils extends Object
  • Field Details

    • EMPTY_BYTEBUF_ARRAY

      public static final io.netty.buffer.ByteBuf[] EMPTY_BYTEBUF_ARRAY
  • Method Details

    • byteBuf2Bytes

      public static byte[] byteBuf2Bytes(io.netty.buffer.ByteBuf buf)
    • byteBufs2Bytes

      public static byte[] byteBufs2Bytes(io.netty.buffer.ByteBuf... bufs)
    • byteBuf2String

      public static String byteBuf2String(Charset charset, io.netty.buffer.ByteBuf buf)
    • byteBuf2String

      public static String byteBuf2String(Charset charset, io.netty.buffer.ByteBuf... bufs)
    • byteBuf2Chars

      public static char[] byteBuf2Chars(Charset charset, io.netty.buffer.ByteBuf buf)
    • byteBuf2Chars

      public static char[] byteBuf2Chars(Charset charset, io.netty.buffer.ByteBuf... bufs)