fixed writeBytes default arguments, cleaned up readBytes'
Merge pull request #50 from clemos/master

fixed writeBytes default arguments, cleaned up readBytes'