add encode.bytesWritten
tests for bytesWritten
docs for bytesWritten
Merge pull request #4 from mafintosh/patch-1

Add encode.bytesWritten