Function jscjs_sys::api::JSObjectGetArrayBufferByteLength[][src]

pub unsafe extern "C" fn JSObjectGetArrayBufferByteLength(
    ctx: JSContextRef,
    object: JSObjectRef,
    exception: *mut JSValueRef
) -> usize
Expand description

@function @abstract Returns the number of bytes in a JavaScript data object. @param ctx The execution context to use. @param object The JS Arary Buffer object whose length in bytes to return. @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. @result The number of bytes stored in the data object.