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

Function Send

10.08-lengthAndValue1/main.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18template<size_t SIZE>
19bool Send(const std::array<char, SIZE>& data)
20{
21 return write(data.data(), data.size());
22}
23
24template<size_t SIZE>
25void Read(std::array<char, SIZE>& data)

Callers 1

mainFunction · 0.70

Calls 3

dataMethod · 0.80
sizeMethod · 0.80
writeFunction · 0.70

Tested by

no test coverage detected