* added Packet::getRawLength() helper
This commit is contained in:
1 parent
3c7ff8da29
commit
ab8cd85d8e
5 files changed
+16
-7
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user