Documentation ¶
Index ¶
- func Encode(data string, securityLevel byte, targetRowHeight, targetColumns int) (image.Image, error)
- type BitList
- func (bl *BitList) AddBit(bits ...bool)
- func (bl *BitList) AddBits(b int, count byte)
- func (bl *BitList) AddByte(b byte)
- func (bl *BitList) GetBit(index int) bool
- func (bl *BitList) GetBytes() []byte
- func (bl *BitList) IterateBytes() <-chan byte
- func (bl *BitList) Len() int
- func (bl *BitList) SetBit(index int, value bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BitList ¶
type BitList struct {
// contains filtered or unexported fields
}
BitList is a list that contains bits
func NewBitList ¶
NewBitList returns a new BitList with the given length all bits are initialize with false
func (*BitList) AddBits ¶
AddBits appends the last (LSB) 'count' bits of 'b' the the end of the list
func (*BitList) IterateBytes ¶
IterateBytes iterates through all bytes contained in the BitList
Click to show internal directories.
Click to hide internal directories.