contrib / restore_from_string.pre

Edit on Github

void restore_from_string(string, int default:0);

uses string as restore_object uses file meaning of int the same

see restore_object(3)