Registry / utility / ipfs-go-bitfield

ipfs-go-bitfield

JSON →
library1.1.0gogounverified

Package bitfield implements a bitfield data structure for IPFS.

go get github.com/ipfs/go-bitfield
INSTALL
IMPORT
SIG · IPFS-GO-BITFIELD
I
ipfs-go-bitfield
utilitygov1.1.0
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/ipfs/go-bitfield

Create a bitfield, set a bit, and check it.

package main import ( "fmt" "github.com/ipfs/go-bitfield" ) func main() { bf := bitfield.NewBitfield(10) bf.Set(3) fmt.Println(bf.Has(3)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ipfs-go-bitfield — go get ipfs-go-bitfield · libregistry