var Buffer = process.binding('buffer').Buffer; exports.Buffer = Buffer; function toHex (n) { if (n < 16) return "0" + n.toString(16); return n.toString(16); } Buffer.isBuffer = function (b) { return b instanceof Buffer; }; Buffer.prototype.inspect = function () { var s = "