package
8.0.1
Repository: https://github.com/apache/arrow.git
Documentation: pkg.go.dev

# Functions

IsMultipleOf64 returns whether v is a multiple of 64.
LeastSignificantBitMask returns a bit mask to return the least significant bits for a value starting from the bit index passed in.
NewBitRunReader returns a reader for the given bitmap, offset and length that grabs runs of the same value bit at a time for easy iteration.
NewReverseSetBitRunReader returns a SetBitRunReader like NewSetBitRunReader, except it will return runs starting from the end of the bitmap until it reaches startOffset rather than starting at startOffset and reading from there.
NewSetBitRunReader returns a SetBitRunReader for the bitmap starting at startOffset which will read numvalues bits.
VisitSetBitRuns is just a convenience function for calling NewSetBitRunReader and then VisitSetBitRuns.

# Structs

BitRun represents a run of bits with the same value of length Len with Set representing if the group of bits were 1 or 0.
SetBitRun describes a run of contiguous set bits in a bitmap with Pos being the starting position of the run and Length being the number of bits.

# Interfaces

BitRunReader is an interface that is usable by multiple callers to provide multiple types of bit run readers such as a reverse reader and so on.
SetBitRunReader is an interface for reading groups of contiguous set bits from a bitmap.

# Type aliases

VisitFn is a callback function for visiting runs of contiguous bits.