MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / ReadTempFileToString

Function ReadTempFileToString

cpp/test/test_shared.cpp:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131string 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
141int GetInt16(const vector<byte>& buf, int offset)
142{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected