mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-17 18:50:51 +00:00
For all typed arrays, this commit adds: * `TypedArray::view(src: &[Type])` * `TypedArray::copy_to(&self, dst: &mut [Type])` The `view` function is unsafe because it doesn't provide any guarantees about lifetimes or mutability. The `copy_to` function is, however, safe. Closes #811