Class ValueBitmaskFilter (2.40.0)

ValueBitmaskFilter(mask: bytes | str)

Row filter for a value bitmask.

Matches only cells with values that satisfy the condition (value & mask) == mask. The mask length must exactly match the value length, otherwise the cell is not considered a match.

Parameter

Name Description
mask bytes or str

A bitmask to match against cell values. String values will be encoded as ASCII.