SDK JS
    Preparing search index...

    Where this codec's decoder .wasm comes from when the build default is not usable — e.g. inside a Web Worker, or in Node/Bun, where the package sibling file cannot be auto-resolved. Pass as LepccDecoderOptions.wasmInit (and the I3S decoder options).

    The full SDK-wide wasm-asset precedence is documented once on core's BitruviusConfig. For this codec, highest first: wasmBytes, then wasmUrl, then the global configure({ wasmBaseUrl }) base joined with turbolepcc_wasm_bg.wasm (see configuredWasmUrl), then the bundler-/ CDN-resolved sibling default.

    interface WasmHostInit {
        wasmBytes?: BufferSource;
        wasmUrl?: string | URL;
    }
    Index

    Properties

    Properties

    wasmBytes?: BufferSource

    Already-fetched wasm module bytes to instantiate directly (no network fetch); the highest-precedence source. Use in Node/Bun or to reuse a cached download.

    wasmUrl?: string | URL

    Absolute or page-relative URL of the turbolepcc_wasm_bg.wasm file to fetch and instantiate. Overridden by wasmBytes when both are set.