WasmDataSegmentInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly data segment.
public sealed record WasmDataSegmentInfo : IEquatable<WasmDataSegmentInfo>Inheritance
Section titled “Inheritance”Object → WasmDataSegmentInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”WasmDataSegmentInfo(int, string, long, int)
Section titled “WasmDataSegmentInfo(int, string, long, int)”One WebAssembly data segment.
Parameters:
Index(Int32): The data segment index.Mode(String): The decoded segment mode: active, passive, or active-explicit-memory.FileOffset(Int64): The file offset where the segment’s bytes begin.Size(Int32): The segment byte size.
public WasmDataSegmentInfo(int Index, string Mode, long FileOffset, int Size)Properties
Section titled “Properties”FileOffset
Section titled “FileOffset”The file offset where the segment’s bytes begin.
Returns: Int64
public long FileOffset { get; init; }The data segment index.
Returns: Int32
public int Index { get; init; }The decoded segment mode: active, passive, or active-explicit-memory.
Returns: String
public string Mode { get; init; }The segment byte size.
Returns: Int32
public int Size { get; init; }