Convert between Uint8Array and Buffer without memory copy in Browserify.