Class Allocator


  • public class Allocator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Allocator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.netty.buffer.ByteBuf buffer​(int initialCapacity)  
      static io.netty.buffer.ByteBuf buffer​(io.netty.buffer.ByteBufAllocator alloc)  
      static io.netty.buffer.ByteBuf buffer​(io.netty.buffer.ByteBufAllocator alloc, int initialCapacity)  
      static io.netty.buffer.ByteBuf directBuffer​(int initialCapacity)  
      static io.netty.buffer.ByteBuf order​(io.netty.buffer.ByteBuf buffer)  
      static io.netty.buffer.ByteBuf wrappedBuffer​(byte[] array)  
      static io.netty.buffer.ByteBuf wrappedBuffer​(io.netty.buffer.ByteBuf... buffers)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Allocator

        public Allocator()
    • Method Detail

      • order

        public static io.netty.buffer.ByteBuf order​(io.netty.buffer.ByteBuf buffer)
      • buffer

        public static io.netty.buffer.ByteBuf buffer​(int initialCapacity)
      • directBuffer

        public static io.netty.buffer.ByteBuf directBuffer​(int initialCapacity)
      • wrappedBuffer

        public static io.netty.buffer.ByteBuf wrappedBuffer​(byte[] array)
      • wrappedBuffer

        public static io.netty.buffer.ByteBuf wrappedBuffer​(io.netty.buffer.ByteBuf... buffers)
      • buffer

        public static io.netty.buffer.ByteBuf buffer​(io.netty.buffer.ByteBufAllocator alloc)
      • buffer

        public static io.netty.buffer.ByteBuf buffer​(io.netty.buffer.ByteBufAllocator alloc,
                                                     int initialCapacity)