public void SetEx(byte[] key, int expireInSeconds, byte[] value)
{
if (key == null)
throw new ArgumentNullException("key");
value = value ?? TypeConstants.EmptyByteArray;
if (value.Length > OneGb)
throw new ArgumentException("value exceeds 1G", "value");
SendExpectSuccess(Commands.SetEx, key, expireInSeconds.ToUtf8Bytes(), value);
}