Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
template<size_t SIZE>
19
bool Send(const std::array<char, SIZE>& data)
20
{
21
return write(data.data(), data.size());
22
}
23
24
template<size_t SIZE>
25
void Read(std::array<char, SIZE>& data)
Callers
1
main
Function · 0.70
Calls
3
data
Method · 0.80
size
Method · 0.80
write
Function · 0.70
Tested by
no test coverage detected