Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove buffer zeroing from Node.js implementation #315

Merged
merged 1 commit into from Oct 23, 2022
Merged

Commits on Oct 23, 2022

  1. Remove buffer zeroing from Node.js implementation

    We can use
    [`Uint8Array::view_mut_raw`](https://rustwasm.github.io/wasm-bindgen/api/js_sys/struct.Uint8Array.html#method.view_mut_raw)
    which was
    [added](rustwasm/wasm-bindgen#1850) in version
    `0.2.54` of `wasm-bindgen`. This method was introduced to deal with
    uninitialized memory, see the Safety comment for more info.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Oct 23, 2022
    Copy the full SHA
    0784e86 View commit details
    Browse the repository at this point in the history