fastly / js-compute-runtime

JavaScript SDK and runtime for building Fastly Compute applications
https://developer.fastly.com/learning/compute/javascript/
Apache License 2.0
200 stars 28 forks source link

Encode into an existing buffer #215

Open elliottt opened 2 years ago

elliottt commented 2 years ago

Introduce a version of encode that writes into an existing buffer, so that's available for use with hostcalls.

guybedford commented 1 year ago

Note that TextEncoder.prototype.encodeInto is also pending implementation.