Class ByteBufs


  • public class ByteBufs
    extends Object
    • Constructor Detail

      • ByteBufs

        public ByteBufs()
    • Method Detail

      • allocAll

        public static io.netty.buffer.ByteBuf[] allocAll​(io.netty.buffer.ByteBufAllocator alloc,
                                                         int count)
      • duplicateAll

        public static io.netty.buffer.ByteBuf[] duplicateAll​(io.netty.buffer.ByteBuf[] buffers)
      • retainedDuplicateAll

        public static io.netty.buffer.ByteBuf[] retainedDuplicateAll​(io.netty.buffer.ByteBuf[] buffers)
      • releaseAll

        public static void releaseAll​(io.netty.buffer.ByteBuf[] byteBufs)
      • encode

        public static io.netty.buffer.ByteBuf[] encode​(io.netty.buffer.ByteBufAllocator alloc,
                                                       CharSequence[] textBuffers)
      • readCString

        public static String readCString​(io.netty.buffer.ByteBuf buffer,
                                         Charset charset)
      • writeCString

        public static void writeCString​(io.netty.buffer.ByteBuf buffer,
                                        String val,
                                        Charset charset)
      • writeCString

        public static void writeCString​(io.netty.buffer.ByteBuf buffer,
                                        byte[] valBytes)