Categorygithub.com/ipfs/go-bitfield
modulepackage
1.1.0
Repository: https://github.com/ipfs/go-bitfield.git
Documentation: pkg.go.dev

# README

go-bitfield

This is a simple bitfield package that's about 2-3x faster than using big.Ints from the standard library. It also has a better interface (and, e.g., supports counting ones).

# Functions

FromBytes constructs a new bitfield from a serialized bitfield.
NewBitfield creates a new fixed-sized Bitfield (allocated up-front).

# Type aliases

Bitfield is, well, a bitfield.