fromBufferAsync static method

Future<Module> fromBufferAsync(
  1. ByteBuffer buffer
)

Asynchronously compiles WebAssembly Module from ByteBuffer source.

Throws a CompileError on invalid module source.

Implementation

static Future<Module> fromBufferAsync(ByteBuffer buffer) =>
    _fromBytesOrBufferAsync(buffer);