def serialize_exclusive_data(self, writer: BinaryWriter):
     writer.write_var_bytes(self.code)
     writer.write_bool(self.need_storage)
     writer.write_var_str(self.name)
     writer.write_var_str(self.code_version)
     writer.write_var_str(self.author)
     writer.write_var_str(self.email)
     writer.write_var_str(self.description)
 def serialize_exclusive_data(self, writer: BinaryWriter):
     writer.write_var_bytes(self.__code)
     writer.write_byte(self.__vm_type.value)
     writer.write_var_str(self.__name)
     writer.write_var_str(self.__code_version)
     writer.write_var_str(self.__author)
     writer.write_var_str(self.__email)
     writer.write_var_str(self.__description)