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

Function DumpStrings

libs/coding/coding_tests/text_storage_tests.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void DumpStrings(vector<string> const & strings, uint64_t blockSize, vector<uint8_t> & buffer)
35{
36 MemWriter<vector<uint8_t>> writer(buffer);
37 BlockedTextStorageWriter<decltype(writer)> ts(writer, blockSize);
38 for (auto const & s : strings)
39 ts.Append(s);
40}
41
42UNIT_TEST(TextStorage_Smoke)
43{

Callers 1

UNIT_TESTFunction · 0.85

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected