'Add the hashes in ids (packed binary 20-bytes) to the filter.'

def add(self, ids):

    if (not self.map):
        raise Exception('Cannot    add    to    closed    bloom')
    self.entries += bloom_add(self.map, ids, self.bits, self.k)
