Thanks for the replies. Those were some of the next steps I was
considering, but I very much appreciate the time you guys took to
respond. I was just astounded by the overhead involved in reading
byte by byte!
BTW, this was with a fast connection (2mbps+).
Best,
Marc
On Mar 28, 3:42 pm, Dan
On Sat, Mar 28, 2009 at 3:16 PM, Marc wrote:
> So I have the following code...
>
>StringBuilder sb = new StringBuilder(4096);
>
>while (true) {
>int i = in.read();
>if (i == 0)
>break;
>
> So I have the following code...
>
> StringBuilder sb = new StringBuilder(4096);
>
> while (true) {
> int i = in.read();
> if (i == 0)
> break;
> else if (i == -1)
>
3 matches
Mail list logo