java.lang.Object
org.eclipse.milo.opcua.stack.core.util.BufferUtil

public class BufferUtil extends Object
  • Constructor Details

    • BufferUtil

      public BufferUtil()
  • Method Details

    • compositeBuffer

      public static io.netty.buffer.CompositeByteBuf compositeBuffer()
      Returns:
      a pooled CompositeByteBuf.
    • pooledBuffer

      public static io.netty.buffer.ByteBuf pooledBuffer()
      Returns:
      a pooled ByteBuf in BIG ENDIAN byte order.
    • pooledBuffer

      public static io.netty.buffer.ByteBuf pooledBuffer(int initialCapacity)
      Returns:
      a pooled ByteBuf in BIG ENDIAN byte order, with an initial capacity of initialCapacity.