[][src]Module ais::messages

Specific AIS message types

Modules

aid_to_navigation_report

Aid to Navigation Report (type 21)

base_station_report

Base Station Report (type 4)

position_report

Position Report (types 1-3)

static_and_voyage_related_data

Static and Voyage Related Data (type 5)

static_data_report

Static Data Report (type 24)

Enums

AisMessage

Contains all structured messages recognized by this crate

Traits

AisMessageType

Trait that describes specific types of AIS messages

Functions

message_type

Gets the message type from the first byte of supplied data

message_type_bits

Gets the message type from the current bitstream position

parse

Given an unarmored bitstream (see unarmor() for details), this will return a message type object, if supported by this library and the message is valid.

unarmor

Converts 8-bit ASCII (armored) into packed 6-bit (unarmored) sequences.