Function fonts::platform::freetype::c_str_to_string

source ยท
unsafe fn c_str_to_string(s: *const c_char) -> String
Expand description

Creates a String from the given null-terminated buffer. Panics if the buffer does not contain UTF-8.