ServiceStack.Redis.RedisNativeClient.SetBit C# (CSharp) Method

SetBit() public method

public SetBit ( string key, int offset, int value ) : long
key string
offset int
value int
return long
        public long SetBit(string key, int offset, int value)
        {
            if (key == null)
                throw new ArgumentNullException("key");

            if (value > 1 || value < 0)
                throw new ArgumentException("value is out of range");

            return SendExpectLong(Commands.SetBit, key.ToUtf8Bytes(), offset.ToUtf8Bytes(), value.ToUtf8Bytes());
        }
RedisNativeClient