Great, thanks for the quick reply! So there's always an NIO ByteBuffer
underlying a Mina one? You learn something every day....

Cheers,
Colin

On 10/3/06, Greg Duffy <[EMAIL PROTECTED]> wrote:
Access the underlying java.nio.ByteBuffer with the ByteBuffer.buf() method,
and use CharsetEncoder/Decoder or whatever to your heart's content.

-Greg

On 10/3/06, Colin Fleming <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Is there any way to encode/decode chars to/from a Mina ByteBuffer at
> all, apart from using getString/putString? Not being able to flexibly
> do this is a pretty bad limitation for a lot of applications, I think.
> Am I missing anything obvious? Any plans around this stuff?
>
> Thanks,
> Colin
>


Reply via email to