code: function arrayBufferEquals(ab1, ab2) {
      if (ab1.byteLength !== ab2.byteLength) {
          return false;
      }
      var arr1 = new Uint8Array(ab1);
      var arr2 = new Uint8Array(ab2);
      for (var i = 0, len = arr1.length; i < len; i++) {
          if (arr1[i] !== arr2[i]) {
              return false;
          }
      }
      return true;
  }
docs: Checks if two ArrayBuffers are equal
  @param {ArrayBuffer} ab1
  @param {ArrayBuffer} ab2
  @returns {boolean}