| 118 | |
| 119 | template <typename T> |
| 120 | inline void write(storage::tar::FileWriter &writer, |
| 121 | const std::string &name, |
| 122 | const util::DeallocatingVector<T> &vec) |
| 123 | { |
| 124 | writer.WriteElementCount64(name, vec.size()); |
| 125 | writer.WriteStreaming<T>(name, vec.begin(), vec.size()); |
| 126 | } |
| 127 | |
| 128 | template <typename T> void read(io::BufferReader &reader, std::vector<T> &data) |
| 129 | { |
nothing calls this directly
no test coverage detected