<p>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.</p>
<div class="gmail_quote">On Oct 25, 2011 5:59 PM, "Replicator" <<a href="mailto:webakaunt@gmail.com">webakaunt@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I noticed that reading is taking LITTLE_ENDIAN factory setting in to the<br>
count..<br>
<br>
When I am writing though, I still have to:<br>
<br>
channel.write( ChannelBuffers.wrappedBuffer( ByteOrder.LITTLE_ENDIAN,<br>
message ) )<br>
<br>
And of course when I am creating ByteBuffers I have to specify ".order(<br>
ByteOrder.LITTLE_ENDIAN )" as well.<br>
<br>
Thanks Trustin.<br>
<br>
--<br>
View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Global-Config-Little-Endian-tp6893711p6931172.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Global-Config-Little-Endian-tp6893711p6931172.html</a><br>
Sent from the Netty User Group mailing list archive at Nabble.com.<br>
_______________________________________________<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>