Unpooled.wrappedUnmodifiableBuffer

Wrap the given {@link ByteBuf}s in an unmodifiable {@link ByteBuf}. Be aware the returned {@link ByteBuf} will not try to slice the given {@link ByteBuf}s to reduce GC-Pressure.

The returned {@link ByteBuf} may wrap the provided array directly, and so should not be subsequently modified.

class Unpooled
static
wrappedUnmodifiableBuffer

Meta