public commonInfo_Type Decode(BitArrayInputStream input) { commonInfo_Type type = new commonInfo_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); if (stream.Read()) { type.cellReselectionPriority = input.readBits(3); } type.ncc_Permitted = input.readBitString(8); type.q_RxLevMin = input.readBits(6); if (stream.Read()) { type.p_MaxGERAN = input.readBits(6); } type.threshX_High = input.readBits(5); type.threshX_Low = input.readBits(5); return(type); }
public commonInfo_Type Decode(BitArrayInputStream input) { commonInfo_Type type = new commonInfo_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); if (stream.Read()) { type.cellReselectionPriority = input.readBits(3); } type.ncc_Permitted = input.readBitString(8); type.q_RxLevMin = input.readBits(6); if (stream.Read()) { type.p_MaxGERAN = input.readBits(6); } type.threshX_High = input.readBits(5); type.threshX_Low = input.readBits(5); return type; }