I'd use .buffer here, not .view.  Or just use the original ArrayBuffer you allocated above.