public intraLTE_Type Decode(BitArrayInputStream input) { intraLTE_Type type = new intraLTE_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); if (stream.Read()) { type.securityAlgorithmConfig = SecurityAlgorithmConfig.PerDecoder.Instance.Decode(input); } type.keyChangeIndicator = input.ReadBit() == 1; type.nextHopChainingCount = input.ReadBits(3); return(type); }
public intraLTE_Type Decode(BitArrayInputStream input) { intraLTE_Type type = new intraLTE_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); if (stream.Read()) { type.securityAlgorithmConfig = SecurityAlgorithmConfig.PerDecoder.Instance.Decode(input); } type.keyChangeIndicator = input.readBit() == 1; type.nextHopChainingCount = input.readBits(3); return type; }