Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitArray ¶
type BitArray struct {
// contains filtered or unexported fields
}
BitArray stores only first <1,2,4> bits of each of <count> numbers.
func NewBitArray ¶
NewBitArray makes bits array of int.
func (*BitArray) Reader ¶
func (a *BitArray) Reader(r []byte) *BitArrayReader
Reader is a number unpacker.
func (*BitArray) Writer ¶
func (a *BitArray) Writer(w []byte) *BitArrayWriter
Writer is a number packer.
type BitArrayReader ¶
type BitArrayReader struct { BitArray // contains filtered or unexported fields }
BitArrayReader of numbers from BitArray.
type BitArrayWriter ¶
type BitArrayWriter struct { BitArray // contains filtered or unexported fields }
BitArrayWriter of numbers to BitArray.
Click to show internal directories.
Click to hide internal directories.