Reinterpret a raw wasm i32 return as the unsigned handle it encodes. wasm returns u32
values as signed i32, so InvalidHandle (0xFFFFFFFF) reaches JavaScript as -1 and
a bare === InvalidHandle never matches. Run every handle-returning ABI result through
this before comparing.
Reinterpret a raw wasm i32 return as the unsigned handle it encodes. wasm returns
u32values as signed i32, so InvalidHandle (0xFFFFFFFF) reaches JavaScript as-1and a bare=== InvalidHandlenever matches. Run every handle-returning ABI result through this before comparing.