The id of the message this carries.
The name of the message this carries.
The message's bytes as they go on the wire.
Reads a field as a number.
Every field reads this way. An integer field wider than 53 bits can exceed what a JavaScript number holds exactly, which no common-dialect field reaches in practice.
The field name.
Optionalindex: number | null
The element to read, or 0 for a scalar field.
The value.
Writes a number into a field, converting it to the field's type.
A value bound for an integer field must be a whole number within that field's range, so a fractional or oversized value is refused rather than silently truncated.
The field name.
The value to store.
Optionalindex: number | null
The element to write, or 0 for a scalar field.
Writes the raw bytes of a byte-wide array field, zero-padding the rest.
The field name.
The bytes to store, at most the field's declared length.
Builds a v2 frame carrying this message.
The addressing fields to stamp on the frame.
The frame ready to send.
StaticdecodeReads a message out of a frame payload.
A payload shorter than the shape is zero-extended, as MAVLink 2 truncation requires, so a frame from a peer that trimmed trailing zeros or predates an extension field still decodes.
The shape to read the payload as.
The frame payload.
The decoded message.
StaticemptyCreates a message with every field zero.
The shape of the message to build.
The zeroed message, ready for its fields to be set.
A message read and written by field name against a schema.