I would expect Ben's method to be slightly faster, but they should be

And, of course you are correct about rewind.  Such are the perils of writing
code in the email program.

On Fri, Apr 24, 2009 at 10:01 AM, Satish Bhatti <cthd2...@gmail.com> wrote:

> ... Your approach appears to be the fastest, so I think I will go with it.
>  By
> the way, it should be buf.rewind() not buf.reset().

Reply via email to