Registry / utility / filecoin-project-go-bitfield

filecoin-project-go-bitfield

JSON →
library0.2.4gogounverified

Package go-bitfield provides a bit field implementation for Filecoin.

go get github.com/filecoin-project/go-bitfield
INSTALL
IMPORT
SIG · FILECOIN-PROJECT-G
F
filecoin-project-go-bitfield
utilitygov0.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bitfield
github.com/filecoin-project/go-bitfield

Create and query a bit field

package main import ( "fmt" "github.com/filecoin-project/go-bitfield" ) func main() { bf := bitfield.NewFromSet([]uint64{0, 2, 5}) fmt.Println(bf.Count()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
filecoin-project-go-bitfield — go get filecoin-project-go-bitfield · libregistry