Global Config: Little Endian
"이희승 (Trustin Lee)"
trustin at gmail.com
Tue Oct 25 20:49:48 EDT 2011
You guessed correctly! Unless there is a bug in Netty, specifying the
bufferFactory should be all you need to do. You'll have to be careful to
use the ChannelBufferFactory you specified when you create a buffer though.
HTH
Replicator wrote:
> Would that answer both of the questions above:
>
>
> clientBootstrap.setOption( "bufferFactory",
> new HeapChannelBufferFactory(
> ByteOrder.LITTLE_ENDIAN ) );
>
>
> Or will I still need to do anything in addition to make sure the
client is
> reading / writing in LITTLE_ENDIAN?
>
> Thank you!
>
> --
> View this message in context:
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Global-Config-Little-Endian-tp6893711p6893744.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/336d9c90/attachment.html
More information about the netty-users
mailing list