Ejemplo n.º 1
0
                public plmn_Id_r9_Type Decode(BitArrayInputStream input)
                {
                    plmn_Id_r9_Type type = new plmn_Id_r9_Type();
                    type.InitDefaults();
                    switch (input.ReadBits(1))
                    {
                        case 0:
                            type.plmn_Index_r9 = input.ReadBits(3) + 1;
                            return type;

                        case 1:
                            type.explicitValue_r9 = PLMN_Identity.PerDecoder.Instance.Decode(input);
                            return type;
                    }
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }
Ejemplo n.º 2
0
                public plmn_Id_r9_Type Decode(BitArrayInputStream input)
                {
                    plmn_Id_r9_Type type = new plmn_Id_r9_Type();

                    type.InitDefaults();
                    switch (input.readBits(1))
                    {
                    case 0:
                        type.plmn_Index_r9 = input.readBits(3) + 1;
                        return(type);

                    case 1:
                        type.explicitValue_r9 = PLMN_Identity.PerDecoder.Instance.Decode(input);
                        return(type);
                    }
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }