BITPOSReturn the position of the first bit set to 0 or 1.
| 语法 | BITPOS key bit [start [end]] |
| 分组 | string |
| 参数个数 | -3 |
| 起始版本 | 1.0.0 |
| 标志 | readonly |
| 复杂度 | O(N) over the scanned bytes |
| Redis 兼容性 | differs: the BYTE / BIT unit argument of Redis 7.0 is not accepted — ranges are byte offsets |