'use strict'; // Compare 2 buffers (can be Array, Uint8Array, Buffer). // function cmpBuf(a, b) { if (a.length !== b.length) { return false; } for (var i=0, l=a.length; i