Categorygithub.com/filecoin-project/go-bitfield
modulepackage
0.2.4
Repository: https://github.com/filecoin-project/go-bitfield.git
Documentation: pkg.go.dev

# README

go-bitfield

CircleCI standard-readme compliant

Advanced RLE+ implementation

Features iterator based primitives that scale with number of runs instead of number of bits.

License

The Filecoin Project is dual-licensed under Apache 2.0 and MIT terms:

# Packages

No description provided by the author

# Functions

CutBitField cuts bitfield B from bitfield A.
IntersectBitField returns the intersection of the two BitFields.
MergeBitFields returns the union of the two BitFields.
MultiMerge returns the unions of all the passed BitFields.
New constructs a new BitField.
NewFromBytes deserializes the encoded bitfield.
NewFromIter constructs a BitField from the RunIterator.
NewFromSet constructs a bitfield from the given set.
SubtractBitField returns the difference between the two BitFields.

# Constants

MaxEncodedSize is the maximum encoded size of a bitfield.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author