Closed
Description
Suggested on spectrum .
This is a very good idea, we should support getting a slice from a null-terminated array and probably have a function that just returns a &str
too. Edge cases to watch out for are null bytes in UTF-8 may be valid if in code point. If that is the case, then we'll want to have a helper method specifically for reading UTF-8 from a WasmPtr with a null terminator. ASCII can probably go through CStr
Activity