public UplinkNASTransport Decode(BitArrayInputStream input) { UplinkNASTransport transport = new UplinkNASTransport(); transport.InitDefaults(); input.ReadBit(); input.skipUnreadedBits(); transport.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); transport.protocolIEs.Add(item); } return(transport); }
public UplinkNASTransport Decode(BitArrayInputStream input) { UplinkNASTransport transport = new UplinkNASTransport(); transport.InitDefaults(); input.readBit(); input.skipUnreadedBits(); transport.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); transport.protocolIEs.Add(item); } return transport; }