Пример #1
0
                        public profiles_Type Decode(BitArrayInputStream input)
                        {
                            profiles_Type type = new 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);
                        }
Пример #2
0
 public profiles_Type Decode(BitArrayInputStream input)
 {
     profiles_Type type = new 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;
 }