Skip to content

BITPOS doesn't support BIT option #1212

@lt1946

Description

@lt1946

Search before asking

  • I had searched in the issues and found no similar issues.

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?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions