Struct NmeaLineParser
Parses a line of ASCII-encoded text containing an NMEA message.
Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaLineParser
Constructors
| Improve this Doc View SourceNmeaLineParser(ReadOnlySpan<Byte>)
Creates a NmeaLineParser.
Declaration
public NmeaLineParser(ReadOnlySpan<byte> line)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<System.Byte> | line | The ASCII-encoded text containing the NMEA message. |
NmeaLineParser(ReadOnlySpan<Byte>, Boolean)
Creates a NmeaLineParser.
Declaration
public NmeaLineParser(ReadOnlySpan<byte> line, bool throwWhenTagBlockContainsUnknownFields)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<System.Byte> | line | The ASCII-encoded text containing the NMEA message. |
System.Boolean | throwWhenTagBlockContainsUnknownFields | Ignore non-standard and unsupported tag block field types. Useful when working with data sources that add non-standard fields. |