Stuff
public text v1 · immutable default:
/* Try the country code at face value, then bit reversed */
if (msg[0] < sizeof(t35_country_codes)/sizeof(t35_country_codes[0])
&&
t35_country_codes[msg[0]][0] != '\0')
{
*country = t35_country_codes[msg[0]];
}
else
{
rev = bit_reverse8(msg[0]);
if (rev < sizeof(t35_country_codes)/sizeof(t35_country_codes[0])
&&
t35_country_codes[rev][0] != '\0')
{
*country = t35_country_codes[bit_reverse8(msg[0])];
}
}
break;
}