#Method for converting String into Bytes
9 messages · Page 1 of 1 (latest)
Not at my computer, so I might be wrong here. Morgan's cakewalk had something like a double string::from(...) that might've ended in a bytes array (it was a contract address iirc.) Maybe check the source of that contract linked in the guide (not the ASCII one, but the one that prints them)?
I definitely asked for this in the past. Im looking for the conversation for what th result was.
I couldn’t find it, sorry.
Without host functions you’d need to read the bytes/string out in chunks.
Then add them into a new object
It wouldn’t be very efficient.
If you open an env issue asking for it, I think it’s an easy sell.