Class PackageHeader
Defined in File package_header.h
Class Documentation
-
class PackageHeader
This class represents the header for primary packages.
Public Types
-
using _package_size_type = int32_t
Public Static Functions
-
static inline size_t getPackageLength(uint8_t *buf)
Reads a buffer, interpreting the next bytes as the size of the contained package.
- Parameters:
buf – The given byte stream containing a serialized package
- Returns:
The size of the given serialized package
-
using _package_size_type = int32_t