예제 #1
0
            public static List <ServedCellsToActivate_Item> Value(BitArrayInputStream input)
            {
                input.skipUnreadedBits();
                List <ServedCellsToActivate_Item> list = new List <ServedCellsToActivate_Item>();
                int nBits = 8;
                int num2  = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num2; i++)
                {
                    ServedCellsToActivate_Item item = ServedCellsToActivate_Item.PerDecoder.Instance.Decode(input);
                    list.Add(item);
                }
                return(list);
            }
예제 #2
0
            public ServedCellsToActivate_Item Decode(BitArrayInputStream input)
            {
                ServedCellsToActivate_Item item = new ServedCellsToActivate_Item();

                item.InitDefaults();
                BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1);

                item.ecgi = ECGI.PerDecoder.Instance.Decode(input);
                if (stream.Read())
                {
                    input.skipUnreadedBits();
                    item.iE_Extensions = new List <ProtocolExtensionField>();
                    int nBits = 0x10;
                    int num5  = input.readBits(nBits) + 1;
                    for (int i = 0; i < num5; i++)
                    {
                        ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input);
                        item.iE_Extensions.Add(field);
                    }
                }
                return(item);
            }
예제 #3
0
 public ServedCellsToActivate_Item Decode(BitArrayInputStream input)
 {
     ServedCellsToActivate_Item item = new ServedCellsToActivate_Item();
     item.InitDefaults();
     BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1);
     item.ecgi = ECGI.PerDecoder.Instance.Decode(input);
     if (stream.Read())
     {
         input.skipUnreadedBits();
         item.iE_Extensions = new List<ProtocolExtensionField>();
         int nBits = 0x10;
         int num5 = input.readBits(nBits) + 1;
         for (int i = 0; i < num5; i++)
         {
             ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input);
             item.iE_Extensions.Add(field);
         }
     }
     return item;
 }