Module avalanche_types::ids::bits

source ·

Structs

Set that can contain uints in the range [0, 64). All functions are O(1). The zero value is the empty set. ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/ids#BitSet64

Enums

Constants

Functions

Returns “true” if two Ids are equal for 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#EqualSubset
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