package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

And computes the logical AND of two bit arrays.
Compare compares two bit arrays.
Concat concatenates two bit arrays.
EncodingPartsForBitLen creates a word backing array and the "last bits used" value given the given total number of bits.
FromEncodingParts creates a bit array from the encoding parts.
MakeBitArrayFromInt64 creates a bit array with the specified size.
MakeZeroBitArray creates a bit array with the specified bit size.
Next returns the next possible bit array in lexicographic order.
Not computes the complement of a bit array.
Or computes the logical OR of two bit arrays.
Parse parses a bit array from the specified string.
Rand generates a random bit array of the specified length.
SizesForBitLen computes the number of words and last bits used for the requested bit array size.
Xor computes the logical XOR of two bit arrays.

# Structs

BitArray implements a bit string of arbitrary length.