title: What is the difference between the ByteBuf retrieved from Context versus any other ByteBuf
body: <p>I found out that using <code>ByteBuf</code> derived from <code>ChannelHandlerContext</code> behaves exactly the same as when using <code>ByteBuf</code> created via <code>Unpooled</code> for example.</p>
  <p>That is, both of these two works:</p>
  <pre><code>ctx.write(ctx.alloc().buffer().writeBytes(&quot;Hello World&quot;.getBytes()))
  ctx.write(Unpooled.wrappedBuffer(&quot;Hello World&quot;.getBytes()))
  </code></pre>
  <p>Is there any difference in the behaviour when <code>ByteBuf</code> retrieved from <code>ctx.alloc().buffer()</code> is used versus any other means of creating a <code>BytBuf</code>?</p>