Example #1
0
            public Paging Decode(BitArrayInputStream input)
            {
                int    num2;
                Paging paging = new Paging();

                paging.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 4);

                if (stream.Read())
                {
                    paging.pagingRecordList = new List <PagingRecord>();
                    num2 = 4;
                    int num3 = input.ReadBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        PagingRecord item = PagingRecord.PerDecoder.Instance.Decode(input);
                        paging.pagingRecordList.Add(item);
                    }
                }
                if (stream.Read())
                {
                    num2 = 1;
                    paging.systemInfoModification = (systemInfoModification_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    paging.etws_Indication = (etws_Indication_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    paging.nonCriticalExtension = Paging_v890_IEs.PerDecoder.Instance.Decode(input);
                }
                return(paging);
            }
Example #2
0
            public PagingRecord Decode(BitArrayInputStream input)
            {
                PagingRecord record = new PagingRecord();

                record.InitDefaults();
                input.ReadBit();
                record.ue_Identity = PagingUE_Identity.PerDecoder.Instance.Decode(input);
                const int nBits = 1;

                record.cn_Domain = (cn_Domain_Enum)input.ReadBits(nBits);
                return(record);
            }
Example #3
0
 public PagingRecord Decode(BitArrayInputStream input)
 {
     PagingRecord record = new PagingRecord();
     record.InitDefaults();
     input.ReadBit();
     record.ue_Identity = PagingUE_Identity.PerDecoder.Instance.Decode(input);
     const int nBits = 1;
     record.cn_Domain = (cn_Domain_Enum)input.ReadBits(nBits);
     return record;
 }