Skip to content

BITPOS command doc example #2697

@zhaoquaner

Description

@zhaoquaner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions