WasmMemoryInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly memory declaration.
public sealed record WasmMemoryInfo : IEquatable<WasmMemoryInfo>Inheritance
Section titled “Inheritance”Object → WasmMemoryInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”WasmMemoryInfo(int, ulong, ulong?, bool, bool)
Section titled “WasmMemoryInfo(int, ulong, ulong?, bool, bool)”One WebAssembly memory declaration.
Parameters:
Index(Int32): The zero-based memory index.MinimumPages(UInt64): The minimum memory page count.MaximumPages(Nullable<UInt64>): The maximum memory page count when one is declared.IsShared(Boolean): Whether the memory is declared shared.IsMemory64(Boolean): Whether the memory uses 64-bit indices.
public WasmMemoryInfo(int Index, ulong MinimumPages, ulong? MaximumPages, bool IsShared, bool IsMemory64)Properties
Section titled “Properties”The zero-based memory index.
Returns: Int32
public int Index { get; init; }IsMemory64
Section titled “IsMemory64”Whether the memory uses 64-bit indices.
Returns: Boolean
public bool IsMemory64 { get; init; }IsShared
Section titled “IsShared”Whether the memory is declared shared.
Returns: Boolean
public bool IsShared { get; init; }MaximumPages
Section titled “MaximumPages”The maximum memory page count when one is declared.
Returns: Nullable<UInt64>
public ulong? MaximumPages { get; init; }MinimumPages
Section titled “MinimumPages”The minimum memory page count.
Returns: UInt64
public ulong MinimumPages { get; init; }