MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / to_string_view

Function to_string_view

3rdparty/cppzmq/zmq.hpp:682–685  ·  view source on GitHub ↗

interpret message content as a string

Source from the content-addressed store, hash-verified

680#if CPPZMQ_HAS_STRING_VIEW
681 // interpret message content as a string
682 std::string_view to_string_view() const noexcept
683 {
684 return std::string_view(static_cast<const char *>(data()), size());
685 }
686#endif
687
688 /** Dump content to string for debugging.

Callers

nothing calls this directly

Calls 2

dataFunction · 0.70
sizeFunction · 0.70

Tested by

no test coverage detected