GETBIT key offset
Time complexity: O(1)
Returns the bit value at offset in the string value stored at key.
Integer reply: the bit value stored at offset.
*Examples
redis> SETBIT mykey 7 1
redis> GETBIT mykey 7
redis> GETBIT mykey 100
Time complexity: O(1)
Returns the bit value at offset in the string value stored at key.
Integer reply: the bit value stored at offset.
redis> SETBIT mykey 7 1
redis> GETBIT mykey 7
redis> GETBIT mykey 100
本文档使用 全库网 构建