compare two buffer in node.js and output the diff