Class Data
Represents a single data segment in a data section.
Assembly: WaaS.Core.dll
View Source
Declaration
public class Data
Properties
IsPassive
Whether the segment is passive, which is copied to the memory only by memory.init.
View Source
Declaration
public bool IsPassive { get; }
MemoryIndex
The index of the memory initialized by an active segment.
View Source
Declaration
public uint MemoryIndex { get; }
Offset
The offset in the memory initialized by an active segment. null for passive segments.
View Source
Declaration
public IConstantExpression Offset { get; }
Payload
View Source
Declaration
public ReadOnlyMemory<byte> Payload { get; }