Search before asking
Version
latest
Minimal reproduce step
from redis command : https://redis.io/commands/bitpos/
redis> SET mykey "\x00\xff\xf0"
"OK"
What did you expect to see?
redis> BITPOS mykey 1 7 15 BIT
(integer) 9
What did you see instead?
redis> BITPOS mykey 1 7 15 BIT
(integer) 57
Anything Else?
No response
Are you willing to submit a PR?
Search before asking
Version
latest
Minimal reproduce step
from redis command : https://redis.io/commands/bitpos/
redis> SET mykey "\x00\xff\xf0"
"OK"
What did you expect to see?
redis> BITPOS mykey 1 7 15 BIT
(integer) 9
What did you see instead?
redis> BITPOS mykey 1 7 15 BIT
(integer) 57
Anything Else?
No response
Are you willing to submit a PR?