added basic code128 support

This commit is contained in:
boombuler committed 2013-12-15 21:56:38 +01:00
1 parent 987cf1bccc
commit a4167688a0
5 files changed
+221

No files matched your search

+7
View File
@@ -79,6 +79,13 @@ func (bl *BitList) AddBits(b int, count byte) {
}
}
// appends all bits in the bool-slice to the end of the list
func (bl *BitList) AddRange(bits []bool) {
for _, b := range bits {
bl.AddBit(b)
}
}
// returns all bits of the BitList as a []byte
func (bl *BitList) GetBytes() []byte {
len := bl.count >> 3