al_ustr_new_from_buffer
ALLEGRO_USTR *al_ustr_new_from_buffer(const char *s, size_t size)
Introduced in 5.0.0
Create a new string containing a copy of the buffer pointed to by s
of the given size. The string must eventually be freed with al_ustr_free.
See also: al_ustr_new
Examples: ex_utf8
Most helpful discussions: