Skip to content
Start free evaluation

PDComm.SecsInfo

Struct

Describes the shape of a SECS-II item.

public readonly struct SecsInfo

Notes

  • See also: SecsItem.GetInfo

Members

Count

Property

Gets the number of children of a list, or the number of values in a primitive (payload bytes divided by the format's element width).

public nuint Count { get; }

Depth

Property

Gets the nesting depth of the tree; a primitive or an empty list has depth 1.

public nuint Depth { get; }

EncodedLength

Property

Gets the size of the complete encoded item, in bytes.

public nuint EncodedLength { get; }

Format

Property

Gets the item's format.

public SecsFormat Format { get; }

NodeCount

Property

Gets the number of items in the tree, including this item.

public nuint NodeCount { get; }