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

Function main

10.08-lengthAndValue1/main.cpp:30–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ReadFunction · 0.70
SendFunction · 0.70

Tested by

no test coverage detected