workflow_launcher/node_modules/buffer-equal/example/eq.js

17 lines
263 B
JavaScript
Raw Normal View History

2024-03-12 07:57:14 -04:00
'use strict';
var bufferEqual = require('../');
console.dir(bufferEqual(
new Buffer([253, 254, 255]),
new Buffer([253, 254, 255])
));
console.dir(bufferEqual(
new Buffer('abc'),
new Buffer('abcd')
));
console.dir(bufferEqual(
new Buffer('abc'),
'abc'
));