diff options
Diffstat (limited to 'src/plainPacket.h')
-rw-r--r-- | src/plainPacket.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plainPacket.h b/src/plainPacket.h index a66f3fc..5919c32 100644 --- a/src/plainPacket.h +++ b/src/plainPacket.h @@ -64,6 +64,12 @@ public: ~PlainPacket() {}; /** + * Get the length of the header + * @return the length of the header + */ + static u_int32_t getHeaderLength(); + + /** * Get the payload type * @return the id of the payload type */ @@ -79,7 +85,7 @@ public: * Get the length of the payload * @return the length of the payload */ - u_int32_t getPayloadLength() const; + u_int32_t getPayloadLength() const; /** * Set the length of the payload |