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