https://github.com/bytecodealliance/wit-bindgen/issues/769
tldr: fn write(&self, contents: &[u8]) ... by default instead of Vec<u8>
I think that makes sense yeah, and while the logic for figuring out what ownership is pretty hairy already this is pretty targeted and I think will fit well
Should string params get the same treatment (String -> &str)?
Last updated: Feb 24 2026 at 07:22 UTC