decodeOnAirPacket
function decodeOnAirPacket(input): OnAirPacket;Defined in: src/protocol/onAirPackets.ts:69
Decode a full on-air mesh packet (header + path + payload) into a tagged
union. Total — never throws; unparseable or unsupported input yields the
raw fallback variant. Accepts a hex string or raw bytes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | string | Uint8Array<ArrayBufferLike> |