Show / Hide Table of Contents

Struct NmeaPayloadParser

Processing for the AIS payload of an NMEA line.

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

Methods

| Improve this Doc View Source

PeekMessageType(ReadOnlySpan<Byte>, UInt32)

Discover the message type of a payload prior to full parsing.

Declaration
public static int PeekMessageType(ReadOnlySpan<byte> data, uint padding)
Parameters
Type Name Description
ReadOnlySpan<System.Byte> data

The payload data.

System.UInt32 padding

The number of padding bits reported in the AIDVM/AIVDO sentence.

Returns
Type Description
System.Int32

The message type.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX