Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 560 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 560 Bytes

WebAssembly BigInt<->i64 conversion in JS API

With the changes in this repository, BigInts have support for bidirectionally converting to 64-bit integer WebAssembly values, which appears as

  • Parameters and return values to exported WebAssembly functions
  • Parameters and return values to host functions
  • Imported and exported globals

BigInts can be read or written from WebAssembly memory using the BigInt proposal's BigInt64Array or BigUint64Array; no additional support is needed.

Design issue