script::dom::bindings::buffer_source

Function create_buffer_source_with_length

Source
fn create_buffer_source_with_length<T>(
    cx: JSContext,
    len: usize,
    dest: MutableHandleObject<'_>,
    _can_gc: CanGc,
) -> Result<TypedArray<T, *mut JSObject>, ()>