pub fn decode_enumerated(
data: &mut PerCodecData,
lb: Option<i128>,
ub: Option<i128>,
is_extensible: bool,
) -> Result<(i128, bool), PerCodecError>Expand description
Decode an Enumerated Value
Decodes an Enumerated value as an index into either root_values of the ENUMERATED or
ext_values of the ENUMERATED and also decodes a flag indicating where the value belongs. If
false the value is from the root_values, else the value is from the ext_values of the
ENUMERATED.