Versions in this module Expand all Collapse all v0 v0.0.5 Dec 11, 2019 v0.0.4 Dec 10, 2019 v0.0.3 Dec 4, 2019 v0.0.2 Dec 3, 2019 v0.0.1 Dec 2, 2019 Changes in this version + var ErrOutOfRange = errors.New("index out of range") + type BitNumbering int + const LSB0 + const MSB0 + type BitVector struct + Buf []byte + BytePacking BitNumbering + Len uint + func NewBitVector(buf []byte, bytePacking BitNumbering) *BitVector + func (v *BitVector) Extend(val byte, count uint, order BitNumbering) + func (v *BitVector) Get(idx uint) (byte, error) + func (v *BitVector) Iterator(order BitNumbering) func(uint) byte + func (v *BitVector) Push(val byte) + func (v *BitVector) Take(index uint, count uint, order BitNumbering) (out byte)