Unpooled.copiedBuffer

Creates a new big-endian buffer whose content is a copy of the specified {@code array}. The new buffer's {@code readerIndex} and {@code writerIndex} are {@code 0} and {@code array.length} respectively.

Meta