MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / main

Function main

10.09-lengthAndValue2/main.cpp:26–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26int main()
27{
28 std::array<char, 1'024> buffer{};
29
30 Read(buffer);
31 Send(buffer);
32
33 // some code in-between
34
35 char buffer2[2'048]{};
36
37 Read(buffer2);
38 Send(buffer2);
39}

Callers

nothing calls this directly

Calls 2

ReadFunction · 0.70
SendFunction · 0.70

Tested by

no test coverage detected