Updated Array::resize() to call ptrw() once before looping to initialize typed array elements, instead of accessing each through .write[].
Updated Array::resize() to call ptrw() once before looping to initialize typed array elements, instead of accessing each through .write[].