WebAssembly / stringref

Other
37 stars 2 forks source link

Integrate with GC proposal #28

Closed wingo closed 2 years ago

wingo commented 2 years ago

Add instructions to encode and decode string contents to and from GC-managed arrays of UTF-8/WTF-8 and WTF-16.

Fixes #1.

wingo commented 2 years ago

cc @dcodeIO @jakobkummerow @kripken

wingo commented 2 years ago

Updated branch takes #33 into account and makes the encode instructions return the number of codeunits encoded.