Top 0.3% dependent packages on proxy.golang.org
Top 0.4% dependent repos on proxy.golang.org
Top 1.6% docker downloads on proxy.golang.org
proxy.golang.org : github.com/prysmaticlabs/go-bitfield
Package bitfield is an abstraction type for bitfield operations. A bitfield is also known as a Bitlist or BitvectorN in Ethereum 2.0 spec. Both variants are static arrays in that they cannot dynamically change in size after being constructed. These data types represent a list of bits whose value is treated akin to a boolean. The bits are in little endian order. The key difference between a bitvector and a bitlist is how they track the number of bits in the array. A bitvectorN is known to have N bits at compile time, so the length is always N no matter how the bitvector is instantiated. Whereas the bitlist can be created with size N at runtime. The bitlist uses the most significant bit in little endian order to indicate the start of the bitlist while in the byte representation.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/prysmaticlabs/go-bitfield
License: Apache-2.0
Latest release: over 3 years ago
First release: over 3 years ago
Namespace: github.com/prysmaticlabs
Dependent packages: 254
Dependent repositories: 223
Stars: 5 on GitHub
Forks: 1 on GitHub
Docker dependents: 35
Docker downloads: 48,253
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago