toots / buffer-browserify

node's buffer module, but for the browser.
MIT License
52 stars 33 forks source link

Add missing binarySlice/binaryWrite methods #9

Closed tonistiigi closed 11 years ago

tonistiigi commented 11 years ago

binarySlice() and binaryWrite() are referenced from the code but such methods don't exist. Seems that current ascii implementation is actually same that node uses for binary.

I didn't change the ascii behavior but it's not quite the same that node uses(see commented in testcase).

toots commented 11 years ago

Thanks!