[eosiocpp] account_name 与 std:string 互相转换
- account_name to std:string
auto username = name{from};
std::string from_name = username.to_string();
- std::string to account_name
account_name from_name = string_to_name(username);
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »