public InitialUEMessage Decode(BitArrayInputStream input) { InitialUEMessage message = new InitialUEMessage(); message.InitDefaults(); input.readBit(); input.skipUnreadedBits(); message.protocolIEs = new List<ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.readBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); message.protocolIEs.Add(item); } return message; }
public InitialUEMessage Decode(BitArrayInputStream input) { InitialUEMessage message = new InitialUEMessage(); message.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); message.protocolIEs = new List <ProtocolIE_Field>(); const int nBits = 0x10; int num5 = input.ReadBits(nBits); for (int i = 0; i < num5; i++) { ProtocolIE_Field item = ProtocolIE_Field.PerDecoder.Instance.Decode(input); message.protocolIEs.Add(item); } return(message); }