| 129 | } |
| 130 | |
| 131 | string ReadTempFileToString(const string& filename) |
| 132 | { |
| 133 | const path temp_file = test_data_temp_path / path(filename); |
| 134 | ifstream in(temp_file); |
| 135 | stringstream buffer; |
| 136 | buffer << in.rdbuf(); |
| 137 | |
| 138 | return buffer.str(); |
| 139 | } |
| 140 | |
| 141 | int GetInt16(const vector<byte>& buf, int offset) |
| 142 | { |