MCPcopy Create free account
hub / github.com/comaps/comaps / ReadToStringFromSource

Function ReadToStringFromSource

libs/coding/coding_tests/reader_test.hpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18template <class SourceT>
19void ReadToStringFromSource(SourceT & source, std::string & str, size_t size)
20{
21 str.resize(size);
22 source.Read(&str[0], str.size());
23}
24} // namespace
25
26template <typename ReaderT>

Callers 1

TestReaderFunction · 0.85

Calls 3

resizeMethod · 0.45
ReadMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected