Exemple #1
0
                public supportedROHC_Profiles_Type Decode(BitArrayInputStream input)
                {
                    supportedROHC_Profiles_Type type = new supportedROHC_Profiles_Type();

                    type.InitDefaults();
                    type.profile0x0001 = input.ReadBit() == 1;
                    type.profile0x0002 = input.ReadBit() == 1;
                    type.profile0x0003 = input.ReadBit() == 1;
                    type.profile0x0004 = input.ReadBit() == 1;
                    type.profile0x0006 = input.ReadBit() == 1;
                    type.profile0x0101 = input.ReadBit() == 1;
                    type.profile0x0102 = input.ReadBit() == 1;
                    type.profile0x0103 = input.ReadBit() == 1;
                    type.profile0x0104 = input.ReadBit() == 1;
                    return(type);
                }
Exemple #2
0
 public supportedROHC_Profiles_Type Decode(BitArrayInputStream input)
 {
     supportedROHC_Profiles_Type type = new supportedROHC_Profiles_Type();
     type.InitDefaults();
     type.profile0x0001 = input.ReadBit() == 1;
     type.profile0x0002 = input.ReadBit() == 1;
     type.profile0x0003 = input.ReadBit() == 1;
     type.profile0x0004 = input.ReadBit() == 1;
     type.profile0x0006 = input.ReadBit() == 1;
     type.profile0x0101 = input.ReadBit() == 1;
     type.profile0x0102 = input.ReadBit() == 1;
     type.profile0x0103 = input.ReadBit() == 1;
     type.profile0x0104 = input.ReadBit() == 1;
     return type;
 }