module Redis::Commands::Bitmaps

def bitcount(key, start = 0, stop = -1)

Returns:
  • (Integer) - the number of bits set to 1

Parameters:
  • stop (Integer) -- stop index
  • start (Integer) -- start index
  • key (String) --
def bitcount(key, start = 0, stop = -1)
  send_command([:bitcount, key, start, stop])
end