This fix is necessary in environments like browsers where sometimes without warning you'll have an Int32Array instead of a string or a buffer.
make sure that the buffer can .slice() before trying to slice it
Added @substack as collaborator and gave him npm push access. I haven't used this module personally in over a year.
this can probably be closed.
Closing. Everything works great in the latest browserify version.