assemblyscript-bson icon indicating copy to clipboard operation
assemblyscript-bson copied to clipboard

BSON encoder / decoder for AssemblyScript

Results 2 assemblyscript-bson issues
Sort by recently updated
recently updated
newest added

https://github.com/WebAssembly/design/blob/master/Security.md >Although attackers cannot perform direct code injection attacks, it is possible to hijack the control flow of a module using code reuse attacks against indirect calls.

So probably you could use `String.fromUTF8` instead this? https://github.com/nearprotocol/assemblyscript-bson/blob/master/assembly/decoder.ts#L98 [link to String.fromUTF8](https://github.com/AssemblyScript/assemblyscript/blob/master/std/assembly/string.ts#L499) [link to String#toUTF8](https://github.com/AssemblyScript/assemblyscript/blob/master/std/assembly/string.ts#L542)