c# - sending hex value over for ZRANGEBYLEX -
i using c# 4.5, stackexchange.redis version 1.0.316.0. need send follwoing command reids server search sorted set start aar.
zrangebylex iwu [aar "[aar\xff" limit 1 10 in c# code tried
querystring="aar"; sortedsetrangebyvalue("iwu", querystring, querystring + "\xff", 0, 10); when monitor on redis server see did not send expected, sent instead.
"zrangebylex" "iwu" "[aar" "[aar\xc3\xbf" "limit" "0" "10" how can fix c# code send right hex values over?
simply using querystring + @"xff" worked me.
Comments
Post a Comment