Пример #1
0
                public targetRAT_Type_Type Decode(BitArrayInputStream input)
                {
                    targetRAT_Type_Type type = new targetRAT_Type_Type();

                    type.InitDefaults();
                    input.readBit();
                    if (input.readBits(1) != 0)
                    {
                        throw new Exception(GetType().Name + ":NoChoice had been choose");
                    }
                    type.geran = geran_Type.PerDecoder.Instance.Decode(input);
                    return(type);
                }
Пример #2
0
 public targetRAT_Type_Type Decode(BitArrayInputStream input)
 {
     targetRAT_Type_Type type = new targetRAT_Type_Type();
     type.InitDefaults();
     input.readBit();
     if (input.readBits(1) != 0)
     {
         throw new Exception(GetType().Name + ":NoChoice had been choose");
     }
     type.geran = geran_Type.PerDecoder.Instance.Decode(input);
     return type;
 }