Skip to content

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>

ObjectWasmSectionInfo

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)

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; }