Exemple #1
0
 public SPS_Config Decode(BitArrayInputStream input)
 {
     SPS_Config config = new SPS_Config();
     config.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         config.semiPersistSchedC_RNTI = input.readBitString(0x10);
     }
     if (stream.Read())
     {
         config.sps_ConfigDL = SPS_ConfigDL.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.sps_ConfigUL = SPS_ConfigUL.PerDecoder.Instance.Decode(input);
     }
     return config;
 }
Exemple #2
0
            public SPS_Config Decode(BitArrayInputStream input)
            {
                SPS_Config config = new SPS_Config();

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

                if (stream.Read())
                {
                    config.semiPersistSchedC_RNTI = input.ReadBitString(0x10);
                }
                if (stream.Read())
                {
                    config.sps_ConfigDL = SPS_ConfigDL.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    config.sps_ConfigUL = SPS_ConfigUL.PerDecoder.Instance.Decode(input);
                }
                return(config);
            }