Esempio n. 1
0
 public PHICH_Config Decode(BitArrayInputStream input)
 {
     PHICH_Config config = new PHICH_Config();
     config.InitDefaults();
     int nBits = 1;
     config.phich_Duration = (phich_Duration_Enum)input.readBits(nBits);
     nBits = 2;
     config.phich_Resource = (phich_Resource_Enum)input.readBits(nBits);
     return config;
 }
Esempio n. 2
0
            public PHICH_Config Decode(BitArrayInputStream input)
            {
                PHICH_Config config = new PHICH_Config();

                config.InitDefaults();
                int nBits = 1;

                config.phich_Duration = (phich_Duration_Enum)input.ReadBits(nBits);
                nBits = 2;
                config.phich_Resource = (phich_Resource_Enum)input.ReadBits(nBits);
                return(config);
            }