fromBytesAsync static method

Future<Module> fromBytesAsync(
  1. Uint8List bytes
)

Asynchronously compiles WebAssembly Module from Uint8List source.

Throws a CompileError on invalid module source.

Implementation

static Future<Module> fromBytesAsync(Uint8List bytes) =>
    _fromBytesOrBufferAsync(bytes);