pub unsafe fn JS_EncodeStringToBuffer( cx: &mut JSContext, str_: *mut JSString, buffer: *mut c_char, length: usize, ) -> bool