+var base64 = require('base64-js')
var TA = require('typedarray')
exports.Buffer = Buffer
function _base64Slice (buf, start, end) {
var bytes = buf.slice(start, end)
- return require('base64-js').fromByteArray(bytes)
+ return base64.fromByteArray(bytes)
}
function _utf8Slice (buf, start, end) {
}
function base64ToBytes (str) {
- return require('base64-js').toByteArray(str)
+ return base64.toByteArray(str)
}
function blitBuffer (src, dst, offset, length) {