cborTagToAlternative static method
Implementation
static BigInt? cborTagToAlternative(int tag) {
if (tag >= 121 && tag <= 127) {
return BigInt.from(tag - 121);
} else if (tag >= 1280 && tag <= 1400) {
return BigInt.from(tag - 1280 + 7);
}
return null;
}