Function mozjs::conversions::latin1_to_string
source · pub unsafe fn latin1_to_string(cx: *mut JSContext, s: *mut JSString) -> String
Expand description
Converts a JSString
, encoded in “Latin1” (i.e. U+0000-U+00FF encoded as 0x00-0xFF) into a
String
.