Skip to main content

JS_ReadObject

Function JS_ReadObject 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_ReadObject( ctx: *mut JsContext, buf: *const u8, buf_len: usize, flags: i32, ) -> JsValue
Expand description

JS_ReadObject: rebuild the value buf describes.

ยงSafety

buf must point at buf_len readable bytes that stay alive for the call.