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

Function main

10.07-lengthAndValue0/main.cpp:28–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ReadFunction · 0.70
SendFunction · 0.70

Tested by

no test coverage detected