Skip to main content

array_buffer_over

Function array_buffer_over 

Source
pub fn array_buffer_over(arr: Value) -> Value
Expand description

An ArrayBuffer whose bytes ARE the heap array arr — shared, not copied. A Buffer built from its own bytes keeps its store this way, so its .buffer and every view made over that are one memory.