getCharacterSetECIByValue static method
@param value character set ECI value @return {@code CharacterSetECI} representing ECI of given value, or null if it is legal but unsupported @throws FormatException if ECI value is invalid
Implementation
static CharacterSetECI? getCharacterSetECIByValue(int value) {
if (value < 0 || value >= 900) {
throw FormatReaderException();
}
return _VALUE_TO_ECI[value];
}