Table of Contents

Class ByteArrayWasmSource

Namespace
Extism.Sdk
Assembly
Extism.Sdk.dll

Wasm Source represented by raw bytes.

public class ByteArrayWasmSource : WasmSource
Inheritance
ByteArrayWasmSource
Inherited Members

Constructors

ByteArrayWasmSource(byte[], string?, string?)

Constructor

public ByteArrayWasmSource(byte[] data, string? name, string? hash = null)

Parameters

data byte[]

the byte array representing the Wasm code

name string
hash string

Properties

Data

The byte array representing the Wasm code

[JsonPropertyName("data")]
public byte[] Data { get; }

Property Value

byte[]