Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BITPOS command doc example #2697

Open
zhaoquaner opened this issue Mar 26, 2024 · 0 comments
Open

BITPOS command doc example #2697

zhaoquaner opened this issue Mar 26, 2024 · 0 comments

Comments

@zhaoquaner
Copy link

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 zhaoquaner changed the title BITPOS command doc example is wrong? BITPOS command doc example Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant