Function avalanche_types::ids::bits::first_difference_subset
source · [−]Expand description
Returns the “id1” index of the first different bit in the range [start, end). This does bit-per-bit comparison for the Id type of [u8; ID_LEN]. ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/ids#FirstDifferenceSubset