Arguments
str
required
The key of the bitset
int
required
Specify the offset at which to get the bit.
Response
The bit value stored at offset.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
bit = redis.getbit(key, 4)
Retrieve a single bit.
bit = redis.getbit(key, 4)
Was this page helpful?