Ah, the problem is that `zlib.gunzip` is a browserify shim, and it returns browserify `Buffer` shim instances. `bops` is expecting a `Uint8Array` to be passed around while in the browser, and that's why it explodes with a `TypeError`.