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

GetSet() public method

public GetSet ( string key, byte value ) : byte[]
key string
value byte
return byte[]
        public byte[] GetSet(string key, byte[] value)
        {
            if (key == null)
                throw new ArgumentNullException("key");

            value = value ?? TypeConstants.EmptyByteArray;

            if (value.Length > OneGb)
                throw new ArgumentException("value exceeds 1G", "value");

            return SendExpectData(Commands.GetSet, key.ToUtf8Bytes(), value);
        }
RedisNativeClient