def encode(self, vals):
        raise Exception(self.ERR_INSTAN)
Only read the header of binary file, return the total number of
dataset/ETHPy150Open hdidx/hdidx/hdidx/encoder/__init__.py/Encoder.encode--crossover with--dataset/ETHPy150Open taoliu/taolib/Motif/__init__.py/read_motif_total_num