object DeserializeOmi(string name) { using (var source = File.OpenRead(@"res-tex\" + name + ".tex")) return(FormatterOmi.Read(source)); }
void SerializeOmi(string name, object value) { using (var dest = File.OpenWrite(@"res-tex\" + name + ".tex")) FormatterOmi.Write(dest, value as object[]); }