Try this
message.order(ByteOrder.LITTLE_ENDIAN) ;

On 9/5/07, Sungwon Jung <[EMAIL PROTECTED]> wrote:
>
> ah, sorry. default is BIG_ENDIAN.
> I'm mistake. :-)
>
>
> On 9/5/07, mat <[EMAIL PROTECTED]> wrote:
> > I believe Java always uses BIG_ENDIAN. So does underlayer TCP
> communication.
> >
> >
> > On 9/5/07, Sungwon Jung <[EMAIL PROTECTED]> 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.
>

Reply via email to