users@grizzly.java.net

Re: ByteBufferInputStream.read(ByteBuffer bb) returns incorrect value

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 31 Mar 2008 11:30:24 +0200

Hello Ramesh,

this looks like bug.
Can you pls. fill the issue - I'll fix this ASAP.

Thanks.
WBR,
Alexey.

On Mar 31, 2008, at 10:55 , Ramesh Parthasarathy wrote:

> Hi ,
> The read(ByteBuffer bb) seems to be returning the size (limit) of
> the buffer rather than the bytes read.
> Should it return eof rather than return bb.limit(). This is a
> problem when we are reading with a bytebuffer that has some data in
> it.
> Please let me know if am missing something, or should i create an
> issue for this.
>
> Thanks
> -Ramesh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>