-
- /**
- * Return point to a protocol's payload region in a packet. If len
- * is not NULL, getPayload will return the length of the payload in
- * it. This call is identical to <TT>Packet.getPayload</TT>, and is
- * included in Receive as a convenience.
- *
- * @param msg the packet
- * @param len a pointer to where to store the payload length
- * @return a pointer to the payload of the packet
- */
- command void* getPayload(message_t* msg, uint8_t* len);
-
- /**
- * Return the length of the payload of msg. This call is identical
- * to <TT>Packet.payloadLength</TT>, and is included in Receive as a
- * convenience.
- *
- * @param msg the packet
- * @return the length of the packet's payload
- */
- command uint8_t payloadLength(message_t* msg);