DelSkayn / rquickjs

High level bindings to the quickjs javascript engine
MIT License
435 stars 59 forks source link

feat(core, value): add as_bytes_mut() to array buffer and typed array #329

Open stephencroberts opened 4 days ago

stephencroberts commented 4 days ago

Overview

There's currently not a way to modify the bytes of an ArrayBuffer or a typed array like Uint8Array, so this PR adds new as_bytes_mut() methods that follows the typical convention in Rust.