MCPcopy Create free account
hub / github.com/apple/foundationdb / readMPString

Function readMPString

fdbclient/Tracing.actor.cpp:627–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627std::string readMPString(uint8_t* index, int len) {
628 uint8_t data[len + 1];
629 std::copy(index, index + len, data);
630 data[len] = '\0';
631 return reinterpret_cast<char*>(data);
632}
633
634std::string readMPString(uint8_t* index) {
635 auto len = 0;

Callers 1

Tracing.actor.cppFile · 0.85

Calls 2

copyFunction · 0.85
swapUint16BEFunction · 0.85

Tested by

no test coverage detected