bch_parse_uuid
if (bch_parse_uuid(buf, set_uuid) < 16)
int bch_parse_uuid(const char *s, char *uuid);