Documentation suggestion / question

이희승 (Trustin Lee) trustin at gmail.com
Fri Aug 26 00:19:39 EDT 2011


Bruce,

Are you referring to the 'Byte array' section of the ChannelBuffer javadoc? If you let me know which section exactly you are referring to, I could fix the documentation issue you mentioned.

Cheers 

-- 
Trustin Lee (http://gleamynode.net/)

On Wednesday, August 24, 2011 at 2:33 PM, Bruce Mitchener wrote:

> I agree, but I'm curious when it wouldn'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...
> 
> - Bruce
> 
> On Wed, Aug 24, 2011 at 12:19 PM, Norman Maurer <norman at apache.org (mailto:norman at apache.org)> wrote:
> >  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
> > >
> > >
> > 
> > 
> > _______________________________________________
> >  netty-users mailing list
> > netty-users at lists.jboss.org (mailto:netty-users at lists.jboss.org)
> > https://lists.jboss.org/mailman/listinfo/netty-users
> 
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org (mailto:netty-users at lists.jboss.org)
> https://lists.jboss.org/mailman/listinfo/netty-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110826/4d09eb8a/attachment.html 


More information about the netty-users mailing list