pub fn new_array_buffer<'js>(
ctx: &Ctx<'js>,
length: usize,
fill: impl FnOnce(&mut [u8]),
) -> Result<ArrayBuffer<'js>>Expand description
A new ArrayBuffer of length bytes that QuickJS allocates, so it counts against
the runtime’s memory limit (an out-of-memory exception past it), zeroed and then
filled by fill.