Table of Contents

Enum WasmType

Namespace
Apache.Ignite.Compute.Wasm
Assembly
Apache.Ignite.dll

Wasm data types.

[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Justification = "Wasm-specific type names are required.")]
public enum WasmType

Fields

Bytes = 8

Byte array. Maps to byte[] in .NET and a pointer/length pair in WebAssembly.

Float32 = 4

32-bit floating point number. Maps to float in .NET and f32 in WebAssembly.

Float64 = 5

64-bit floating point number. Maps to double in .NET and f64 in WebAssembly.

Int16 = 1

16-bit integer. Maps to short in .NET and i32 in WebAssembly.

Int32 = 2

32-bit integer. Maps to int in .NET and i32 in WebAssembly.

Int64 = 3

64-bit integer. Maps to long in .NET and i64 in WebAssembly.

Int8 = 0

8-bit integer. Maps to sbyte in .NET and i32 in WebAssembly.

String = 7

String. Maps to string in .NET and a pointer/length pair in WebAssembly (UTF8-encoded).

Timestamp = 6

Timestamp. Maps to Instant in .NET and i64 (milliseconds since epoch) in WebAssembly.