Documentation suggestion / question
Norman Maurer
norman at apache.org
Wed Aug 24 01:19:55 EDT 2011
Hi there,
as far as I can tell it will by default be array backend when you
receive a ChannelBuffer in the pipeline. To be save I would call
ChannelBuffer.hasArray() to check before assuming its array backed.
Bye,
Norman
Am 24.08.2011 06:07, schrieb Bruce Mitchener:
> On
> http://docs.jboss.org/netty/3.2/api/org/jboss/netty/buffer/ChannelBuffer.html,
> it talks about whether or not a ChannelBuffer may or may not have a
> backing array. It would be helpful to have an understanding of when
> there is a backing array and when not.
>
> For example, when processing a message coming in from the network
> through the pipeline, is there always a backing array?
>
> Thanks,
>
> - Bruce
>
>
More information about the netty-users
mailing list