I agree, but I&#39;m curious when it wouldn&#39;t be and think maybe the docs could be updated to discuss that. :)  As it is, I have to implement a fallback now that may or may not ever be needed...<div><br></div><div> - Bruce<br>
<br><div class="gmail_quote">On Wed, Aug 24, 2011 at 12:19 PM, Norman Maurer <span dir="ltr">&lt;<a href="mailto:norman@apache.org">norman@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi there,<br>
<br>
as far as I can tell it will by default be array backend when you<br>
receive a ChannelBuffer in the pipeline. To be save I would call<br>
ChannelBuffer.hasArray() to check before assuming its array backed.<br>
<br>
Bye,<br>
Norman<br>
<br>
<br>
Am 24.08.2011 06:07, schrieb Bruce Mitchener:<br>
<div><div></div><div class="h5">&gt; On<br>
&gt; <a href="http://docs.jboss.org/netty/3.2/api/org/jboss/netty/buffer/ChannelBuffer.html" target="_blank">http://docs.jboss.org/netty/3.2/api/org/jboss/netty/buffer/ChannelBuffer.html</a>,<br>
&gt; it talks about whether or not a ChannelBuffer may or may not have a<br>
&gt; backing array. It would be helpful to have an understanding of when<br>
&gt; there is a backing array and when not.<br>
&gt;<br>
&gt; For example, when processing a message coming in from the network<br>
&gt; through the pipeline, is there always a backing array?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt;  - Bruce<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div>_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</blockquote></div><br></div>