redis-doc icon indicating copy to clipboard operation
redis-doc copied to clipboard

BITPOS command doc example

Open zhaoquaner opened this issue 3 months ago • 0 comments

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. Snipaste_2024-03-26_12-12-57

zhaoquaner avatar Mar 26 '24 04:03 zhaoquaner