add a getter for the number of bytes in the payload

This commit is contained in:
Stephen Birarda 2013-09-17 13:27:17 -07:00
parent 94f04a9806
commit 3f2dc7a28d

View file

@ -57,6 +57,7 @@ public:
const timeval& getTime() const { return _time; }
uchar* getPayload() { return _payload; }
int getNumPayloadBytes() const { return _numPayloadBytes; }
void setPayload(uchar *payload, int numBytes);
int getNumberOfInstances() const { return _numberOfInstances; }