Adding buffer support
Merge pull request #1 from nfroidure/master

Merged pull request 1. Adding stream support. Thanks, Nicolas!