Example #1
0
            public PUSCH_ConfigDedicated_v1020 Decode(BitArrayInputStream input)
            {
                int num2;
                PUSCH_ConfigDedicated_v1020 _v = new PUSCH_ConfigDedicated_v1020();

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

                if (stream.Read())
                {
                    _v.betaOffsetMC_r10 = betaOffsetMC_r10_Type.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.groupHoppingDisabled_r10 = (groupHoppingDisabled_r10_Enum)input.readBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.dmrs_WithOCC_Activated_r10 = (dmrs_WithOCC_Activated_r10_Enum)input.readBits(num2);
                }
                return(_v);
            }
Example #2
0
 public PUSCH_ConfigDedicated_v1020 Decode(BitArrayInputStream input)
 {
     int num2;
     PUSCH_ConfigDedicated_v1020 _v = new PUSCH_ConfigDedicated_v1020();
     _v.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         _v.betaOffsetMC_r10 = betaOffsetMC_r10_Type.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.groupHoppingDisabled_r10 = (groupHoppingDisabled_r10_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.dmrs_WithOCC_Activated_r10 = (dmrs_WithOCC_Activated_r10_Enum)input.readBits(num2);
     }
     return _v;
 }