Пример #1
0
 public AdditionalReestabInfo Decode(BitArrayInputStream input)
 {
     AdditionalReestabInfo info = new AdditionalReestabInfo();
     info.InitDefaults();
     info.cellIdentity = input.ReadBitString(0x1c);
     info.key_eNodeB_Star = input.ReadBitString(0x100);
     info.shortMAC_I = input.ReadBitString(0x10);
     return info;
 }
Пример #2
0
            public AdditionalReestabInfo Decode(BitArrayInputStream input)
            {
                AdditionalReestabInfo info = new AdditionalReestabInfo();

                info.InitDefaults();
                info.cellIdentity    = input.ReadBitString(0x1c);
                info.key_eNodeB_Star = input.ReadBitString(0x100);
                info.shortMAC_I      = input.ReadBitString(0x10);
                return(info);
            }
Пример #3
0
            public ReestablishmentInfo Decode(BitArrayInputStream input)
            {
                ReestablishmentInfo info = new ReestablishmentInfo();

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

                info.sourcePhysCellId     = input.ReadBits(9);
                info.targetCellShortMAC_I = input.ReadBitString(0x10);
                if (stream.Read())
                {
                    info.additionalReestabInfoList = new List <AdditionalReestabInfo>();
                    int nBits = 5;
                    int num3  = input.ReadBits(nBits) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        AdditionalReestabInfo item = AdditionalReestabInfo.PerDecoder.Instance.Decode(input);
                        info.additionalReestabInfoList.Add(item);
                    }
                }
                return(info);
            }