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

Function Send

10.09-lengthAndValue2/main.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14void Read(std::span<char> data);
15
16bool Send(std::span<const char> data)
17{
18 return write(data.data(), data.size());
19}
20
21void Read(std::span<char> data)
22{

Callers 1

mainFunction · 0.70

Calls 3

dataMethod · 0.80
sizeMethod · 0.80
writeFunction · 0.70

Tested by

no test coverage detected