Show / Hide Table of Contents

Struct NmeaTagBlockParser

Extracts data from the Tag Block section of an NMEA message.

Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaTagBlockParser

Constructors

| Improve this Doc View Source

NmeaTagBlockParser(ReadOnlySpan<Byte>)

Creates a NmeaTagBlockParser.

Declaration
public NmeaTagBlockParser(ReadOnlySpan<byte> source)
Parameters
Type Name Description
ReadOnlySpan<System.Byte> source

The ASCII-encoded tag block, without the leading and trailing / delimiters.

| Improve this Doc View Source

NmeaTagBlockParser(ReadOnlySpan<Byte>, Boolean)

Creates a NmeaTagBlockParser.

Declaration
public NmeaTagBlockParser(ReadOnlySpan<byte> source, bool throwWhenTagBlockContainsUnknownFields)
Parameters
Type Name Description
ReadOnlySpan<System.Byte> source

The ASCII-encoded tag block, without the leading and trailing / delimiters.

System.Boolean throwWhenTagBlockContainsUnknownFields

Ignore non-standard and unsupported tag block field types. Useful when working with data sources that add non-standard fields.

Properties

| Improve this Doc View Source

SentenceGrouping

Gets the sentence grouping information for fragmented messages, if present, null otherwise.

Declaration
public NmeaTagBlockSentenceGrouping? SentenceGrouping { get; }
Property Value
Type Description
System.Nullable<NmeaTagBlockSentenceGrouping>
| Improve this Doc View Source

Source

Gets the underlying data that was passed at construction.

Declaration
public ReadOnlySpan<byte> Source { get; }
Property Value
Type Description
ReadOnlySpan<System.Byte>
| Improve this Doc View Source

UnixTimestamp

Gets the unix timestamp, if present, null otherwise.

Declaration
public long? UnixTimestamp { get; }
Property Value
Type Description
System.Nullable<System.Int64>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX