public MultiBulkReply zrevrange(byte[] key0, byte[] start1, byte[] stop2, byte[] withscores3) throws RedisException {
if (key0 == null || start1 == null || stop2 == null) {
throw new RedisException("invalid number of argumenst for 'zrevrange' command");
}
boolean withscores = _checkcommand(withscores3, "withscores", true);
<BUG>BytesKeyZSet zset = _getzset(key0, false);
int size = zset.size();</BUG>
int end = size - _torange(start1, size) -1 ;
int start = size - _torange(stop2, size) - 1;
Iterator<ZSetEntry> iterator = zset.iterator();

public MultiBulkReply zrevrange(byte[] key0, byte[] start1, byte[] stop2, byte[] withscores3) throws RedisException {
if (key0 == null || start1 == null || stop2 == null) {
throw new RedisException("invalid number of argumenst for 'zrevrange' command");
}
boolean withscores = _checkcommand(withscores3, "withscores", true);
ZSet zset = _getzset(key0, false);
int size = zset.size();
int end = size - _torange(start1, size) -1 ;
int start = size - _torange(stop2, size) - 1;
Iterator<ZSetEntry> iterator = zset.iterator();
