PositionableStream and uintXXX

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PositionableStream and uintXXX

Andrey Larionov
I'm try to launch FastCGI for Seaside. And there is a question.
From socket stream reads some byte sequence which wraped by ReadStream
on which reading operations is continued. In some place called unit24
message, which sends bitShift: message. But from stream returned not
an Integer but Character, which dosnt have an bitShift: method. What
i'm missed? is there should be special calls to made stream binary?

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: PositionableStream and uintXXX

Henrik Sperre Johansen
(SocketStream on: socket) binary.
Stream defines binary as well, default implementation does nothing,  
look at it's subclasses implementors to see which support it.

Cheers,
Henry

On Oct 2, 2009, at 5:16 15AM, Andrey Larionov wrote:

> I'm try to launch FastCGI for Seaside. And there is a question.
> From socket stream reads some byte sequence which wraped by ReadStream
> on which reading operations is continued. In some place called unit24
> message, which sends bitShift: message. But from stream returned not
> an Integer but Character, which dosnt have an bitShift: method. What
> i'm missed? is there should be special calls to made stream binary?
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: PositionableStream and uintXXX

Andrey Larionov
Thanks. I found what i need send a binary to stream before processing.

On Fri, Oct 2, 2009 at 16:02, Henrik Johansen
<[hidden email]> wrote:
> tream defines binary as well, default implementation does nothing,
> look at it's subclasses implementors to see which support it.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project