redis-doc
redis-doc copied to clipboard
BITPOS command doc example
There is something wrong with the example given by the bitpos command, after executing set mykey "\xff\xf0\x00"
, the execution of bitpos bitpos 0
should return 12, right? Getting the first bit index with a value of 0, and subsequent commands return the wrong value.