• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# RrcCompiler.BitMaskStream类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Common.RrcCompiler.BitMaskStream的典型用法代码示例。如果您正苦于以下问题:C# BitMaskStream类的具体用法?C# BitMaskStream怎么用?C# BitMaskStream使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



BitMaskStream类属于Common.RrcCompiler命名空间,在下文中一共展示了BitMaskStream类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Decode

 public OtherConfig_r9 Decode(BitArrayInputStream input)
 {
     OtherConfig_r9 _r = new OtherConfig_r9();
     _r.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.reportProximityConfig_r9 = ReportProximityConfig_r9.PerDecoder.Instance.Decode(input);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 3);
         if (stream2.Read())
         {
             _r.idc_Config_r11 = IDC_Config_r11.PerDecoder.Instance.Decode(input);
         }
         if (stream2.Read())
         {
             _r.powerPrefIndicationConfig_r11 = PowerPrefIndicationConfig_r11.PerDecoder.Instance.Decode(input);
         }
         if (stream2.Read())
         {
             _r.obtainLocationConfig_r11 = ObtainLocationConfig_r11.PerDecoder.Instance.Decode(input);
         }
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:28,代码来源:Other.cs


示例2: Decode

 public PLMN_Identity Decode(BitArrayInputStream input)
 {
     int num2;
     PLMN_Identity identity = new PLMN_Identity();
     identity.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         identity.mcc = new List<long>();
         num2 = 0;
         int num3 = input.readBits(num2) + 3;
         for (int j = 0; j < num3; j++)
         {
             long item = input.readBits(4);
             identity.mcc.Add(item);
         }
     }
     identity.mnc = new List<long>();
     num2 = 1;
     int num6 = input.readBits(num2) + 2;
     for (int i = 0; i < num6; i++)
     {
         long num8 = input.readBits(4);
         identity.mnc.Add(num8);
     }
     return identity;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:27,代码来源:PLMN_Identity.cs


示例3: Decode

 public CandidateCellInfo_r10 Decode(BitArrayInputStream input)
 {
     CandidateCellInfo_r10 _r = new CandidateCellInfo_r10();
     _r.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 2);
     _r.physCellId_r10 = input.readBits(9);
     _r.dl_CarrierFreq_r10 = input.readBits(0x10);
     if (stream.Read())
     {
         _r.rsrpResult_r10 = input.readBits(7);
     }
     if (stream.Read())
     {
         _r.rsrqResult_r10 = input.readBits(6);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             _r.dl_CarrierFreq_v1090 = input.readBits(0x12) + 0x10000;
         }
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:26,代码来源:CellSelectionInfo.cs


示例4: Decode

 public QuantityConfig Decode(BitArrayInputStream input)
 {
     QuantityConfig config = new QuantityConfig();
     config.InitDefaults();
     bool flag = input.readBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         config.quantityConfigEUTRA = QuantityConfigEUTRA.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.quantityConfigUTRA = QuantityConfigUTRA.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.quantityConfigGERAN = QuantityConfigGERAN.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         config.quantityConfigCDMA2000 = QuantityConfigCDMA2000.PerDecoder.Instance.Decode(input);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             config.quantityConfigUTRA_v1020 = QuantityConfigUTRA_v1020.PerDecoder.Instance.Decode(input);
         }
     }
     return config;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:32,代码来源:QuantityConfig.cs


示例5: Decode

 public Paging Decode(BitArrayInputStream input)
 {
     int num2;
     Paging paging = new Paging();
     paging.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         paging.pagingRecordList = new List<PagingRecord>();
         num2 = 4;
         int num3 = input.readBits(num2) + 1;
         for (int i = 0; i < num3; i++)
         {
             PagingRecord item = PagingRecord.PerDecoder.Instance.Decode(input);
             paging.pagingRecordList.Add(item);
         }
     }
     if (stream.Read())
     {
         num2 = 1;
         paging.systemInfoModification = (systemInfoModification_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         paging.etws_Indication = (etws_Indication_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         paging.nonCriticalExtension = Paging_v890_IEs.PerDecoder.Instance.Decode(input);
     }
     return paging;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:33,代码来源:Paging.cs


示例6: Decode

 public EAB_ConfigPLMN_r11 Decode(BitArrayInputStream input)
 {
     EAB_ConfigPLMN_r11 _r = new EAB_ConfigPLMN_r11();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.eab_Config_r11 = EAB_Config_r11.PerDecoder.Instance.Decode(input);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:11,代码来源:EAB_Config.cs


示例7: Decode

 public MultiBandInfo_v9e0 Decode(BitArrayInputStream input)
 {
     MultiBandInfo_v9e0 _ve = new MultiBandInfo_v9e0();
     _ve.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _ve.freqBandIndicator_v9e0 = input.readBits(8) + 0x41;
     }
     return _ve;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:11,代码来源:MultiBandInfo.cs


示例8: Decode

 public ObtainLocationConfig_r11 Decode(BitArrayInputStream input)
 {
     ObtainLocationConfig_r11 _r = new ObtainLocationConfig_r11();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.obtainLocation_r11 = (obtainLocation_r11_Enum)input.readBits(nBits);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:12,代码来源:ObtainLocationConfig.cs


示例9: Decode

 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;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:12,代码来源:PRACH_Config.cs


示例10: Decode

 public NonContiguousUL_RA_WithinCC_r10 Decode(BitArrayInputStream input)
 {
     NonContiguousUL_RA_WithinCC_r10 _r = new NonContiguousUL_RA_WithinCC_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.nonContiguousUL_RA_WithinCC_Info_r10 = (nonContiguousUL_RA_WithinCC_Info_r10_Enum)input.readBits(nBits);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:12,代码来源:RACH_Config.cs


示例11: Decode

 public BandCombinationParametersExt_r10 Decode(BitArrayInputStream input)
 {
     BandCombinationParametersExt_r10 _r = new BandCombinationParametersExt_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         int num = input.readBits(5);
         _r.supportedBandwidthCombinationSet_r10 = input.readBitString(num + 1);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:12,代码来源:BandParameters.cs


示例12: Decode

 public SON_Parameters_r9 Decode(BitArrayInputStream input)
 {
     SON_Parameters_r9 _r = new SON_Parameters_r9();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.rach_Report_r9 = (rach_Report_r9_Enum)input.readBits(nBits);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:12,代码来源:SON_Parameters.cs


示例13: Decode

 public OTDOA_PositioningCapabilities_r10 Decode(BitArrayInputStream input)
 {
     OTDOA_PositioningCapabilities_r10 _r = new OTDOA_PositioningCapabilities_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     int nBits = 1;
     _r.otdoa_UE_Assisted_r10 = (otdoa_UE_Assisted_r10_Enum)input.readBits(nBits);
     if (stream.Read())
     {
         nBits = 1;
         _r.interFreqRSTD_Measurement_r10 = (interFreqRSTD_Measurement_r10_Enum)input.readBits(nBits);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:14,代码来源:OTDOA_PositioningCapabilities.cs


示例14: Decode

 public CA_MIMO_ParametersDL_r10 Decode(BitArrayInputStream input)
 {
     CA_MIMO_ParametersDL_r10 _r = new CA_MIMO_ParametersDL_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     int nBits = (input.readBit() == 0) ? 3 : 3;
     _r.ca_BandwidthClassDL_r10 = (CA_BandwidthClass_r10)input.readBits(nBits);
     if (stream.Read())
     {
         nBits = 2;
         _r.supportedMIMO_CapabilityDL_r10 = (MIMO_CapabilityDL_r10)input.readBits(nBits);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:14,代码来源:CA.cs


示例15: Decode

 public AdditionalSI_Info_r9 Decode(BitArrayInputStream input)
 {
     AdditionalSI_Info_r9 _r = new AdditionalSI_Info_r9();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         const int nBits = 1;
         _r.csg_MemberStatus_r9 = (csg_MemberStatus_r9_Enum)input.readBits(nBits);
     }
     if (stream.Read())
     {
         _r.csg_Identity_r9 = input.readBitString(0x1b);
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:16,代码来源:AdditionalSI_Info.cs


示例16: Decode

 public RSTD_InterFreqInfo_r10 Decode(BitArrayInputStream input)
 {
     RSTD_InterFreqInfo_r10 _r = new RSTD_InterFreqInfo_r10();
     _r.InitDefaults();
     bool flag = input.readBit() != 0;
     _r.carrierFreq_r10 = input.readBits(0x10);
     _r.measPRS_Offset_r10 = input.readBits(6);
     if (flag)
     {
         BitMaskStream stream = new BitMaskStream(input, 1);
         if (stream.Read())
         {
             _r.carrierFreq_v1090 = input.readBits(0x12) + 0x10000;
         }
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:17,代码来源:RSTD_InterFreqInfo.cs


示例17: Decode

 public MeasObjectCDMA2000 Decode(BitArrayInputStream input)
 {
     MeasObjectCDMA2000 tcdma = new MeasObjectCDMA2000();
     tcdma.InitDefaults();
     input.readBit();
     BitMaskStream stream = new BitMaskStream(input, 1);
     BitMaskStream stream2 = new BitMaskStream(input, 4);
     int nBits = 1;
     tcdma.cdma2000_Type = (CDMA2000_Type)input.readBits(nBits);
     tcdma.carrierFreq = CarrierFreqCDMA2000.PerDecoder.Instance.Decode(input);
     if (stream2.Read())
     {
         tcdma.searchWindowSize = input.readBits(4);
     }
     if (stream.Read())
     {
         tcdma.offsetFreq = input.readBits(5) + -15;
     }
     if (stream2.Read())
     {
         tcdma.cellsToRemoveList = new List<long>();
         nBits = 5;
         int num3 = input.readBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             long item = input.readBits(5) + 1;
             tcdma.cellsToRemoveList.Add(item);
         }
     }
     if (stream2.Read())
     {
         tcdma.cellsToAddModList = new List<CellsToAddModCDMA2000>();
         nBits = 5;
         int num6 = input.readBits(nBits) + 1;
         for (int j = 0; j < num6; j++)
         {
             CellsToAddModCDMA2000 dcdma = CellsToAddModCDMA2000.PerDecoder.Instance.Decode(input);
             tcdma.cellsToAddModList.Add(dcdma);
         }
     }
     if (stream2.Read())
     {
         tcdma.cellForWhichToReportCGI = input.readBits(9);
     }
     return tcdma;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:46,代码来源:MeasObject.cs


示例18: Decode

 public CSG_AllowedReportingCells_r9 Decode(BitArrayInputStream input)
 {
     CSG_AllowedReportingCells_r9 _r = new CSG_AllowedReportingCells_r9();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.physCellIdRangeUTRA_FDDList_r9 = new List<PhysCellIdRangeUTRA_FDD_r9>();
         int nBits = 2;
         int num3 = input.readBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             PhysCellIdRangeUTRA_FDD_r9 item = PhysCellIdRangeUTRA_FDD_r9.PerDecoder.Instance.Decode(input);
             _r.physCellIdRangeUTRA_FDDList_r9.Add(item);
         }
     }
     return _r;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:18,代码来源:CSG.cs


示例19: Decode

 public Handover Decode(BitArrayInputStream input)
 {
     Handover handover = new Handover();
     handover.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     int num2 = (input.readBit() == 0) ? 3 : 3;
     handover.targetRAT_Type = (targetRAT_Type_Enum)input.readBits(num2);
     int nBits = input.readBits(8);
     handover.targetRAT_MessageContainer = input.readOctetString(nBits);
     if (stream.Read())
     {
         handover.nas_SecurityParamFromEUTRA = input.readOctetString(1);
     }
     if (stream.Read())
     {
         handover.systemInformation = SI_OrPSI_GERAN.PerDecoder.Instance.Decode(input);
     }
     return handover;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:19,代码来源:Handover.cs


示例20: Decode

 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;
 }
开发者ID:ouyh18,项目名称:LteTools,代码行数:19,代码来源:SPS_Config.cs



注:本文中的Common.RrcCompiler.BitMaskStream类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Test.CommonTestExecutionContext类代码示例发布时间:2022-05-24
下一篇:
C# Entities.BitArrayInputStream类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap