@ethereumjs/util / matchingBytesLength
matchingBytesLength(
bytes1
,bytes2
):number
Defined in: packages/util/src/bytes.ts:546
Compares two byte arrays and returns the count of consecutively matching items from the start.
Uint8Array
The first Uint8Array to compare.
Uint8Array
The second Uint8Array to compare.
number
The count of consecutively matching items from the start.