* added Packet::getRawLength() helper

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

No files matched your search

+5
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)