buf.js 142 Bytes Raw Blame History Permalink 1 2 3 4 process.nextTick(function () { t.equal(Buffer('abc').toString('base64'), 'YWJj'); t.equal(Buffer([98,99,100]).toString(), 'bcd'); });