added helper method to read from stream
Merge pull request #6 from wouterdb/master

Thank you for your improvement.
That`s cool :-)