Beispiel #1
0
                    public format3_r10_Type Decode(BitArrayInputStream input)
                    {
                        format3_r10_Type type = new format3_r10_Type();

                        type.InitDefaults();
                        BitMaskStream stream = new BitMaskStream(input, 2);

                        if (stream.Read())
                        {
                            type.n3PUCCH_AN_List_r10 = new List <long>();
                            int nBits = 2;
                            int num3  = input.ReadBits(nBits) + 1;
                            for (int i = 0; i < num3; i++)
                            {
                                long item = input.ReadBits(10);
                                type.n3PUCCH_AN_List_r10.Add(item);
                            }
                        }
                        if (stream.Read())
                        {
                            type.twoAntennaPortActivatedPUCCH_Format3_r10 = twoAntennaPortActivatedPUCCH_Format3_r10_Type.PerDecoder.Instance.Decode(input);
                        }
                        return(type);
                    }
Beispiel #2
0
 public format3_r10_Type Decode(BitArrayInputStream input)
 {
     format3_r10_Type type = new format3_r10_Type();
     type.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 2);
     if (stream.Read())
     {
         type.n3PUCCH_AN_List_r10 = new List<long>();
         int nBits = 2;
         int num3 = input.ReadBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             long item = input.ReadBits(10);
             type.n3PUCCH_AN_List_r10.Add(item);
         }
     }
     if (stream.Read())
     {
         type.twoAntennaPortActivatedPUCCH_Format3_r10 = twoAntennaPortActivatedPUCCH_Format3_r10_Type.PerDecoder.Instance.Decode(input);
     }
     return type;
 }