Exemplo n.º 1
0
            public AS_Context_v1130 Decode(BitArrayInputStream input)
            {
                int nBits;
                AS_Context_v1130 _v = new AS_Context_v1130();

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

                if (stream.Read())
                {
                    nBits = input.readBits(8);
                    _v.idc_Indication_r11 = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    nBits = input.readBits(8);
                    _v.mbmsInterestIndication_r11 = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    nBits = input.readBits(8);
                    _v.powerPrefIndication_r11 = input.readOctetString(nBits);
                }
                return(_v);
            }
Exemplo n.º 2
0
 public AS_Context_v1130 Decode(BitArrayInputStream input)
 {
     int nBits;
     AS_Context_v1130 _v = new AS_Context_v1130();
     _v.InitDefaults();
     BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);
     if (stream.Read())
     {
         nBits = input.readBits(8);
         _v.idc_Indication_r11 = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         nBits = input.readBits(8);
         _v.mbmsInterestIndication_r11 = input.readOctetString(nBits);
     }
     if (stream.Read())
     {
         nBits = input.readBits(8);
         _v.powerPrefIndication_r11 = input.readOctetString(nBits);
     }
     return _v;
 }