Function script::dom::bindings::import::module::jsapi::JS_CopyStringCharsZ

source ·
pub unsafe extern "C" fn JS_CopyStringCharsZ(
    cx: *mut JSContext,
    str_: *mut JSString,
) -> u8
Expand description

Copies the string’s characters to a null-terminated char16_t buffer.

Returns nullptr on OOM.