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; }
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); }