MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / to_ascii

Function to_ascii

examples/http/rest.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86std::string to_ascii(caf::span<const std::byte> buffer) {
87 return std::string{reinterpret_cast<const char*>(buffer.data()),
88 buffer.size()};
89}
90
91// -- main ---------------------------------------------------------------------
92

Callers 1

caf_mainFunction · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected