I need to be able to convert a name/account_name to a string for some processing in my smart contract. I have found and used the string_to_name
function for converting in the other direction, but cannot find an equivalent to the name_to_string
function. I saw a reference to name
having a to_string()
method, but the compiler disagreed with its existence and threw errors.
What function is available to perform this conversion?