* added Packet::getRawLength() helper

This commit is contained in:
Scott Powell 2025-04-11 15:12:04 +10:00
parent 3c7ff8da29
commit ab8cd85d8e
5 changed files with 16 additions and 7 deletions

View file

@ -79,6 +79,11 @@ public:
float getSNR() const { return ((float)_snr) / 4.0f; }
/**
* \returns the encoded/wire format length of this packet
*/
int getRawLength() const;
/**
* \brief save entire packet as a blob
* \param dest (OUT) destination buffer (assumed to be MAX_MTU_SIZE)