fn take_bits<I: ArrowPrimitiveType, const CHECKED: bool>( values: &BooleanBuffer, indices: &PrimitiveArray<I>, ) -> BooleanBuffer