syntax fix and file stream support
add more test
add stream and buffer support
Merge pull request #5 from RobinQu/master

improve