title: when to use Unpooled in netty
body: <p>I'm trying to figure out when to use <a href="https://netty.io/4.0/api/io/netty/buffer/Unpooled.html" rel="nofollow noreferrer">Unpooled</a> in Netty.  Some examples show wrapped the byte[] in <code>Unpooled.wrappedBuffer</code>, and some examples show just </p>
  
  <pre><code>ctx.writeAndFlush(bytes); // where bytes is just byte[]
  </code></pre>
  
  <p>Is there a guideline on when to use Unpooled?  </p>