eq.js 262 B

1234567891011121314
  1. var bufferEqual = require('../');
  2. console.dir(bufferEqual(
  3. new Buffer([253,254,255]),
  4. new Buffer([253,254,255])
  5. ));
  6. console.dir(bufferEqual(
  7. new Buffer('abc'),
  8. new Buffer('abcd')
  9. ));
  10. console.dir(bufferEqual(
  11. new Buffer('abc'),
  12. 'abc'
  13. ));