直接msg->get_payload().data()就好了。
std::string里可以装'\0',用data()就可以访问。
直接msg->get_payload().data()就好了。
std::string里可以装'\0',用data()就可以访问。
Except as otherwise noted, this blog is licensed under CC BY-SA 4.0 License.
©2021-
searchstar
|
pv
|
uv
Theme Tree
by Wu Jun
Powered by Hexo