# MermaidPacketField

Describes one Mermaid packet field. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidPacketDocument.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPacketDocument.cs#L29)

**Modifiers**

sealed

Describes one Mermaid packet field.

## Inheritance

- object
- MermaidPacketField

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [MermaidPacketDocument.Fields](/api/chartforgex-mermaid-mermaidpacketdocument/#property-fields)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidPacketField(int startBit, int endBit, string label, MermaidSourceSpan span)` [#](#constructor-ctor-int32-int32-string-chartforgex-mermaid-mermaidsourcespan) 

[MermaidPacketDocument.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPacketDocument.cs#L29)

Initializes a packet field.

Parameters

**startBit int required**

**endBit int required**

**label string required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public int StartBit { get; }` [#](#property-startbit) 

[MermaidPacketDocument.cs:39](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPacketDocument.cs#L39)

Gets the first bit covered by this field.

 `public int EndBit { get; }` [#](#property-endbit) 

[MermaidPacketDocument.cs:42](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPacketDocument.cs#L42)

Gets the last bit covered by this field.

 `public int BitLength { get; }` [#](#property-bitlength) 

[MermaidPacketDocument.cs:45](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPacketDocument.cs#L45)

Gets the covered bit count.

 `public string Label { get; set; }` [#](#property-label) 

[MermaidPacketDocument.cs:48](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPacketDocument.cs#L48)

Gets or sets the field label.

 `public MermaidSourceSpan Span { get; }` [#](#property-span) 

[MermaidPacketDocument.cs:51](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPacketDocument.cs#L51)

Gets the source span for the field statement.

<!-- PowerForge markdown artifact sha256:85C651441B4C87791F989CA1873EA2D63962AC5E05D4B84E10ABC9EF3B97C4B7 -->
