Class NmeaAisStaticDataReportParser
Performs initial parsing of type 24 messages to distinguish between Part A and Part B messages.
Inheritance
System.Object
NmeaAisStaticDataReportParser
Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public static class NmeaAisStaticDataReportParser : object
Methods
| Improve this Doc View SourceGetPartNumber(ReadOnlySpan<Byte>, UInt32)
Inspects a Type 24: Static Data Report message and determines the message Part Number.
Declaration
public static uint GetPartNumber(ReadOnlySpan<byte> ascii, uint padding)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<System.Byte> | ascii | The ASCII-encoded message payload. |
System.UInt32 | padding | The number of bits of padding in this payload. |
Returns
Type | Description |
---|---|
System.UInt32 | The part number. |