Re: [Issue 102] New - ByteBufferInputStream.read(ByteBuffer bb) returns incorrect value

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Issue 102] New - ByteBufferInputStream.read(ByteBuffer bb) returns incorrect value

Oleksiy Stashok
Thank you, Ramesh.
It is fixed now.

WBR,
Alexey.

On Mar 31, 2008, at 12:15 , [hidden email] wrote:

> https://grizzly.dev.java.net/issues/show_bug.cgi?id=102
>                 Issue #|102
>                 Summary| ByteBufferInputStream.read(ByteBuffer bb)  
> returns inc
>                        |orrect value
>               Component|grizzly
>                 Version|1.7.1
>                Platform|Sun
>              OS/Version|All
>                     URL|
>                  Status|NEW
>       Status whiteboard|
>                Keywords|
>              Resolution|
>              Issue type|DEFECT
>                Priority|P3
>            Subcomponent|framework
>             Assigned to|issues@grizzly
>             Reported by|rampsarathy
>
>
>
>
>
>
> ------- Additional comments from [hidden email] Mon Mar 31  
> 10:15:00 +0000 2008 -------
> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]