Perhaps we could add a method in ProtocolCodecFactory like this:
public interface ProtocolCodecFactory {
...
ByteOrder getDefaultByteOrder();
...
}
WDYT?
Trustin
On 6/30/06, Samuel Doyle <[EMAIL PROTECTED]> wrote:
Yeah, that is what I ended up doing thanks.
peter royal <[EMAIL PROTECTED]> wrote: On Jun 28, 2006, at 9:54 PM, Samuel
Doyle wrote:
> Such as those ByteBuffers that are passed to my encoder and
> decoders so that they data they are filled with are filled in the
> correct byte order?
You can easily achieve this with an IoFilter, just call
ByteBuffer.order() to set the order that you want before and/or after
your encoder.
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6