| 72 | |
| 73 | template <class T> |
| 74 | inline void SerializeToArcadiaStream(IOutputStream& stream, T& c) { |
| 75 | TYaStreamOutput f(stream); |
| 76 | { |
| 77 | IBinSaver bs(f, false); |
| 78 | bs.Add(1, &c); |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | template <class T> |
| 83 | inline void SerializeToFile(const TString& fileName, T& c) { |