Input streams

well, here I just wanted to follow how all the other methods of the class are handling the streams.

I would say it is another PR to see all those methods caller do handle the stream correct.