don't throw on 0 length input data; resolves #10
Merge pull request #11 from missinglink/master

don't throw on 0 length input data; resolves #10