It's bigger than just a protocol encoder/decoder, but you can check out ACE:
http://www.cs.wustl.edu/~schmidt/ACE.html
We've been using it in our products for the last 8+ years, it's very high
quality and very cross-platform.
Good luck!
Cheers,
Craig
> -Original Message-
> From: Emma
Sorry, but I said ByteBuffer, I mean IoBuffer.
> -Original Message-
> From: Craig L. Ching [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 06, 2008 10:32 AM
> To: dev@mina.apache.org; [EMAIL PROTECTED]
> Subject: RE: Current state of 2.0
>
>
>
> > -
> -Original Message-
> From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED] On
> Behalf Of Emmanuel Lecharny
> Sent: Friday, June 06, 2008 10:23 AM
> To: dev@mina.apache.org
> Subject: Re: Current state of 2.0
>
> Craig L. Ching wrote:
> > Hi all,
> >
Hi all,
I've been sort of following some of the discussions of the proposed
changes and I like what I'm hearing. In fact, I'd love it if someone
could say how soon I could expect to see a release of all the good ideas
;-)
Anyway, I'm coming back to a project that I had originally working with
1.
I don't know if it's related or not, but a bug was fixed recently where
byte buffer expansion was much slower than it should have been. If
you're using expandable byte buffers, you might want to check out the
svn trunk and test with that.
Cheers,
Craig
> -Original Message-
> From: Steve
Awesome, fix works great, thanks Trustin!
Cheers,
Craig
> -Original Message-
> From: Craig L. Ching [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 17, 2008 9:19 AM
> To: dev@mina.apache.org
> Subject: RE: IoBuffer and auto expand
>
> Hi Trustin,
>
> Thanks
ure. I'd suggest expansionRate (float, default = 2.0) property in
> IoBuffer.
>
> Please also note that you can manually expand the buffer by calling
> IoBuffer.expand(...) method.
>
> HTH,
>
> On Fri, 14 Mar 2008 04:41:12 +0900, Craig L. Ching <[EMAIL PROTECTED]>
> wr
Hi,
I've changed over to using the latest milestone release, 2.0.0-M1 and I
have a question about IoBuffer.autoExpand(true). I'm basically doing
the following:
IoBuffer buf = IoBuffer.allocate(1024);
buf.setAutoExpand(true);
[various buf.putXXX calls]
buf.flip();
[write buffer]
I note that t