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

ZRangeByLex() public method

public ZRangeByLex ( string setId, string min, string max, int skip = null, int take = null ) : byte[][]
setId string
min string
max string
skip int
take int
return byte[][]
        public byte[][] ZRangeByLex(string setId, string min, string max, int? skip = null, int? take = null)
        {
            if (setId == null)
                throw new ArgumentNullException("setId");

            var cmdWithArgs = new List<byte[]>
           	{
           		Commands.ZRangeByLex, setId.ToUtf8Bytes(), min.ToUtf8Bytes(), max.ToUtf8Bytes()
           	};

            if (skip.HasValue || take.HasValue)
            {
                cmdWithArgs.Add(Commands.Limit);
                cmdWithArgs.Add(skip.GetValueOrDefault(0).ToUtf8Bytes());
                cmdWithArgs.Add(take.GetValueOrDefault(0).ToUtf8Bytes());
            }

            return SendExpectMultiData(cmdWithArgs.ToArray());
        }
RedisNativeClient