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