Module.fromBytes constructor
Module.fromBytes(
- Uint8List bytes
Synchronously compiles WebAssembly Module from Uint8List source.
Throws a CompileError on invalid module source. Some runtimes do not allow synchronous compilation of modules bigger than 4 KB in the main thread. In such case, an ArgumentError will be thrown.
Implementation
factory Module.fromBytes(Uint8List bytes) => Module._fromBytesOrBuffer(bytes);