Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2018 Changes in this version + var ErrInvalidEndianness = errors.New("unsupported endianness") + var ErrInvalidLength = errors.New("len(buffer) for zcbit must be N * 8") + var ErrUnsupportedArch = errors.New("unsupported host endianness") + type BitSet struct + func New(b []byte, endian Endianness) (*BitSet, error) + func (b *BitSet) FindFirstOne(i uint) (uint, bool) + func (b *BitSet) FindFirstZero(i uint) (uint, bool) + func (b *BitSet) FindLastOne() (uint, bool) + func (b *BitSet) Get(i uint) bool + func (b *BitSet) Set(i uint) bool + func (b *BitSet) Unset(i uint) bool + type Endianness uint8 + const BigEndian + const LittleEndian + func (e Endianness) String() string