rsc.io/qr/coding.Bits.Bits (method)

5 uses

	rsc.io/qr/coding (current package)
		qr.go#L71: func (b *Bits) Bits() int {
		qr.go#L388: 		n -= -b.Bits() & 7
		qr.go#L389: 		b.Write(0, -b.Bits()&7)
		qr.go#L439: 	if b.Bits() > p.DataBytes*8 {
		qr.go#L440: 		return nil, fmt.Errorf("cannot encode %d bits into %d-bit code", b.Bits(), p.DataBytes*8)