This overload allocates the required memory from an existing stack buffer.
The source string to convert to a C UTF-8 string
The stack buffer to allocate from
Note: Always assign the result to an auto variable first for RAII to work correctly.
See Implementation
This overload allocates the required memory from an existing stack buffer.