cmpUint8Array.js 413 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.cmpUint8Array = void 0;
  4. const cmpUint8Array = (a, b) => {
  5. const length = a.length;
  6. if (length !== b.length)
  7. return false;
  8. for (let i = 0; i < length; i++)
  9. if (a[i] !== b[i])
  10. return false;
  11. return true;
  12. };
  13. exports.cmpUint8Array = cmpUint8Array;
  14. //# sourceMappingURL=cmpUint8Array.js.map