Example #1
0
 public PRACH_Config Decode(BitArrayInputStream input)
 {
     PRACH_Config config = new PRACH_Config();
     config.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     config.rootSequenceIndex = input.ReadBits(10);
     if (stream.Read())
     {
         config.prach_ConfigInfo = PRACH_ConfigInfo.PerDecoder.Instance.Decode(input);
     }
     return config;
 }
Example #2
0
            public PRACH_Config Decode(BitArrayInputStream input)
            {
                PRACH_Config config = new PRACH_Config();

                config.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 1);

                config.rootSequenceIndex = input.readBits(10);
                if (stream.Read())
                {
                    config.prach_ConfigInfo = PRACH_ConfigInfo.PerDecoder.Instance.Decode(input);
                }
                return(config);
            }