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

Bitops exapmle return error #2637

Open
jihuayu opened this issue Jan 3, 2024 · 1 comment
Open

Bitops exapmle return error #2637

jihuayu opened this issue Jan 3, 2024 · 1 comment

Comments

@jihuayu
Copy link

jihuayu commented Jan 3, 2024

Refer: https://redis.io/commands/bitpos/

In exapmle:

redis> SET mykey "\xff\xf0\x00"
"OK"
redis> BITPOS mykey 0
(integer) 0

In my local:

127.0.0.1:6379> SET mykey "\xff\xf0\x00"
OK
127.0.0.1:6379> BITPOS mykey 0
(integer) 12
@dwdougherty
Copy link
Collaborator

Jihuayu,

Thank you for your report. We'll get this fixed.

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

2 participants