interpret message content as a string
| 674 | |
| 675 | // interpret message content as a string |
| 676 | std::string to_string() const |
| 677 | { |
| 678 | return std::string(static_cast<const char *>(data()), size()); |
| 679 | } |
| 680 | #if CPPZMQ_HAS_STRING_VIEW |
| 681 | // interpret message content as a string |
| 682 | std::string_view to_string_view() const noexcept |