interpret message content as a string
| 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. |