Changing endianness on the fly

Hoyt, David hoyt6 at llnl.gov
Sat Sep 26 04:57:56 EDT 2009


Nevermind - I figured out how to solve my problem. I just had to change the channel buffer factory to little endian in the channel config after connecting and before sending my http request. That seemed to do the trick.

From: netty-users-bounces at lists.jboss.org [mailto:netty-users-bounces at lists.jboss.org] On Behalf Of Hoyt, David
Sent: Saturday, September 26, 2009 12:01 AM
To: Netty Users
Subject: Changing endianness on the fly

Is it possible to change the endianness on an existing channelbuffer? Our stream starts out encapsulated in http and then the content's byte order is different.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090926/4f24a27c/attachment.html 


More information about the netty-users mailing list