users@grizzly.java.net

RE: StreamReader, StreamWriter additions for 2.0

From: buzz lightyear <buzzheavyyear_at_hotmail.com>
Date: Wed, 6 May 2009 08:03:21 +0000

Oops

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

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!
_________________________________________________________________
Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/