add Buffer to encode scope
Merge pull request #11 from tmpvar/browserify-Buffer

add Buffer to encode scope