Global Config: Little Endian
Trustin Lee
trustin at gmail.com
Tue Oct 25 21:10:26 EDT 2011
I'd rather keep the reference to the buffer factory and call getBuffer() to
create a buffer with proper default endian. Please let me know if this
doesn't work for you.
On Oct 25, 2011 5:59 PM, "Replicator" <webakaunt at gmail.com> wrote:
> I noticed that reading is taking LITTLE_ENDIAN factory setting in to the
> count..
>
> When I am writing though, I still have to:
>
> channel.write( ChannelBuffers.wrappedBuffer( ByteOrder.LITTLE_ENDIAN,
> message ) )
>
> And of course when I am creating ByteBuffers I have to specify ".order(
> ByteOrder.LITTLE_ENDIAN )" as well.
>
> Thanks Trustin.
>
> --
> View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Global-Config-Little-Endian-tp6893711p6931172.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> 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/20111025/f6e411a5/attachment.html
More information about the netty-users
mailing list