Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + type Bitfield []byte + func FromBytes(size int, bits []byte) Bitfield + func NewBitfield(size int) Bitfield + func (bf Bitfield) Bit(i int) bool + func (bf Bitfield) Bytes() []byte + func (bf Bitfield) Ones() int + func (bf Bitfield) OnesAfter(i int) int + func (bf Bitfield) OnesBefore(i int) int + func (bf Bitfield) SetBit(i int) + func (bf Bitfield) SetBytes(b []byte) + func (bf Bitfield) UnsetBit(i int)