unreliablePayloadOf

The payload of an 0x90 datagram — bytes 2 onward — or null if the datagram is shorter than the 2-byte [0x90][channel] prefix.

Return

an exact-length copy of the payload, or null if malformed

Parameters

datagram

a received 0x90 datagram