mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat <forum.maill...@gmail.com>
Subject Re: change default endian?
Date Wed, 05 Sep 2007 03:56:07 GMT
I believe Java always uses BIG_ENDIAN. So does underlayer TCP communication.


On 9/5/07, Sungwon Jung <thedaz@gmail.com> wrote:
>
> Hello. I'm using MINA 1.1.2.
>
> default endian is LITTLE_ENDIAN.
>
> I opened two port in one server.
> LITTLE_ENDIAN product use one port.
> BIG_ENDIAN product use the other port. (I use other ProtocolCodecFilter)
>
> so, can I change default endian in the other port?
> if it's impossible, how can I easy change received
> BIG_ENDIAN-ByteBuffer to LITTLE_ENDIAN-ByteBuffer.
>
> Thank you.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message