foundry_common::contracts

Function count_different_bytes

Source
unsafe fn count_different_bytes(a: &[u8], b: &[u8]) -> usize
Expand description

Returns the amount of different bytes between two slices.

ยงSafety

a must be at least as long as b.