Пример #1
0
 public UE_TimersAndConstants Decode(BitArrayInputStream input)
 {
     UE_TimersAndConstants constants = new UE_TimersAndConstants();
     constants.InitDefaults();
     input.ReadBit();
     int nBits = 3;
     constants.t300 = (t300_Enum)input.ReadBits(nBits);
     nBits = 3;
     constants.t301 = (t301_Enum)input.ReadBits(nBits);
     nBits = 3;
     constants.t310 = (t310_Enum)input.ReadBits(nBits);
     nBits = 3;
     constants.n310 = (n310_Enum)input.ReadBits(nBits);
     nBits = 3;
     constants.t311 = (t311_Enum)input.ReadBits(nBits);
     nBits = 3;
     constants.n311 = (n311_Enum)input.ReadBits(nBits);
     return constants;
 }
Пример #2
0
            public UE_TimersAndConstants Decode(BitArrayInputStream input)
            {
                UE_TimersAndConstants constants = new UE_TimersAndConstants();

                constants.InitDefaults();
                input.ReadBit();
                int nBits = 3;

                constants.t300 = (t300_Enum)input.ReadBits(nBits);
                nBits          = 3;
                constants.t301 = (t301_Enum)input.ReadBits(nBits);
                nBits          = 3;
                constants.t310 = (t310_Enum)input.ReadBits(nBits);
                nBits          = 3;
                constants.n310 = (n310_Enum)input.ReadBits(nBits);
                nBits          = 3;
                constants.t311 = (t311_Enum)input.ReadBits(nBits);
                nBits          = 3;
                constants.n311 = (n311_Enum)input.ReadBits(nBits);
                return(constants);
            }