I think it's protocolDecoder business. Usualy I change ByteOrder in the
ProtocolDecoder.decode(..) first lines. I like to have BigEndian by
default, and change to LittleEndian on tricky protocols.

[X]: We don't need one.

Le jeudi 03 août 2006 à 16:41 +0900, Trustin Lee a écrit :
> On 8/3/06, Trustin Lee <[EMAIL PROTECTED]> wrote:
> >
> > [X]: Provide getDefaultByteOrder() method in ProtocolEncoder and
> > ProtocolDecoder
> >
> 
> I chose this because putting getDefaultByteOrder() in ProtocolCodecFactory
> doesn't actually perform any encoding / decoding and only encoder and
> decoder themselves know what order they will use.  Providing a filter is
> also a viable option but I cannot imagine any other use case than what
> getDefaultByteOrder can do.
> 
> Trustin

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to