WasmSectionInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One section in a WebAssembly module, including custom sections.
public sealed record WasmSectionInfo : IEquatable<WasmSectionInfo>Inheritance
Section titled “Inheritance”Object → WasmSectionInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”WasmSectionInfo(byte, string, long, int)
Section titled “WasmSectionInfo(byte, string, long, int)”One section in a WebAssembly module, including custom sections.
Parameters:
Id(Byte): The numeric section id.Name(String): The standard section name, or the custom section name for id 0.FileOffset(Int64): The file offset where section payload bytes begin.Size(Int32): The section payload size in bytes.
public WasmSectionInfo(byte Id, string Name, long FileOffset, int Size)Properties
Section titled “Properties”FileOffset
Section titled “FileOffset”The file offset where section payload bytes begin.
Returns: Int64
public long FileOffset { get; init; }The numeric section id.
Returns: Byte
public byte Id { get; init; }The standard section name, or the custom section name for id 0.
Returns: String
public string Name { get; init; }The section payload size in bytes.
Returns: Int32
public int Size { get; init; }