Пример #1
0
                public logicalChannelConfig_Type Decode(BitArrayInputStream input)
                {
                    logicalChannelConfig_Type type = new logicalChannelConfig_Type();
                    type.InitDefaults();
                    switch (input.ReadBits(1))
                    {
                        case 0:
                            type.explicitValue = LogicalChannelConfig.PerDecoder.Instance.Decode(input);
                            return type;

                        case 1:
                            return type;
                    }
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }
Пример #2
0
                public logicalChannelConfig_Type Decode(BitArrayInputStream input)
                {
                    logicalChannelConfig_Type type = new logicalChannelConfig_Type();

                    type.InitDefaults();
                    switch (input.ReadBits(1))
                    {
                    case 0:
                        type.explicitValue = LogicalChannelConfig.PerDecoder.Instance.Decode(input);
                        return(type);

                    case 1:
                        return(type);
                    }
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }