redisSetBit: Redis BITSET - set binary value

Description

Sets or clears the bit at offset in the string value stored at key.

Usage

1
  redisSetBit(key, offset, bit)

Arguments

key

redis key

offset

integer index to be updated

bit

binary number to be set

Value

bit binary number with previous value, or '0' if it had not been set before.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.