users@grizzly.java.net

Re: StreamReader, StreamWriter additions for 2.0

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 06 May 2009 11:38:12 +0200

Hi Nick,

>
> StreamReader is fine - it's just StreamWriter that lacks
> writeByteArray(byte[] b, int off, int len)
Done.

WBR,
Alexey.

>
>
> From: buzzheavyyear_at_hotmail.com
> To: users_at_grizzly.dev.java.net
> Date: Wed, 6 May 2009 07:16:24 +0000
> Subject: StreamReader, StreamWriter additions for 2.0
>
> Hi
>
> I'm in the middle of converting a couple of simple servers
>
> I'm finding that a lot of the calls to the sockets are of the form:
>
> read(byte[] b, int off, int len)
>
> and
>
> write(byte[] b, int off, int len)
>
> I think it would be very handy to include these in the StreamReader/
> Writer
>
> Cheers
> Nick
>
> Share your photos with Windows Live Photos – Free. Try it Now!
> " Upgrade to Internet Explorer 8 Optimised for MSN. " Download Now