Skip to main content

construct_typed_array

Function construct_typed_array 

Source
fn construct_typed_array(
    cx: &mut JSContext,
    name_type: &Type,
    buffer_source: &HeapBufferSource<ArrayBufferU8>,
    byte_offset: usize,
    byte_length: i64,
) -> Fallible<RootedTraceableBox<HeapBufferSource<ArrayBufferViewU8>>>
Expand description

Helper function to construct different TypedArray views