template<typename MsgType, typename Storage = std::vector<MsgType>>
struct bcnp::TypedPacket< MsgType, Storage >
Generic packet containing messages of a specific type.
- Template Parameters
-
| MsgType | The message struct type (must have kTypeId, kWireSize, Encode/Decode) |
| Storage | Container type for messages (default: std::vector<MsgType>) |
Storage options: std::vector<MsgType>: Heap allocation, unlimited size (default) StaticVector<MsgType, N>: Stack allocation, fixed capacity N (real-time safe)
Generic packet containing messages of a specific type.
Definition at line 242 of file packet.h.