Compares byte arrays on per-element basis.
expect(new Uint8Array([1, 2])).to.equalBytes([1, 2]); expect(new Uint8Array[65, 66, 67])).to.equalBytes('414243');
Expected bytes encoded as a hex string or an array-like object
Compares byte arrays on per-element basis.
expect(new Uint8Array([1, 2])).to.equalBytes([1, 2]); expect(new Uint8Array[65, 66, 67])).to.equalBytes('414243');