Example #1
0
static std::string filter_score(const Bytes &score){
	int64_t s = score.Int64();
	char buf[32];
	snprintf(buf, sizeof(buf), "%" PRId64 "", s);
	return std::string(buf);
}
Example #2
0
static std::string filter_score(const Bytes &score){
	int64_t s = score.Int64();
	return str(s);
}