chrisdickinson/w3c-blob — pull request #2 by kriskowal (2013-11-15 07:34:27+00:00)
Title: liberate heavy dependency on Buffer shim

This module entrained the hefty Buffer shim, but we just need the ability to measure UTF-8 in bytes, which is easy enough to do with a function that takes advantage of the browser’s native but cleverly-hidden UTF-8 encoder.

I’m providing this patch on behalf of its original author, @pierrefrisch.