Пример #1
0
 public PRACH_ConfigInfo Decode(BitArrayInputStream input)
 {
     PRACH_ConfigInfo info = new PRACH_ConfigInfo();
     info.InitDefaults();
     info.prach_ConfigIndex = input.ReadBits(6);
     info.highSpeedFlag = input.ReadBit() == 1;
     info.zeroCorrelationZoneConfig = input.ReadBits(4);
     info.prach_FreqOffset = input.ReadBits(7);
     return info;
 }
Пример #2
0
            public PRACH_ConfigInfo Decode(BitArrayInputStream input)
            {
                PRACH_ConfigInfo info = new PRACH_ConfigInfo();

                info.InitDefaults();
                info.prach_ConfigIndex         = input.readBits(6);
                info.highSpeedFlag             = input.readBit() == 1;
                info.zeroCorrelationZoneConfig = input.readBits(4);
                info.prach_FreqOffset          = input.readBits(7);
                return(info);
            }