dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
Packer.hpp
1// SPDX-FileCopyrightText: 2026 Vincent Leroy
2// SPDX-License-Identifier: MIT
3//
4// This file is part of dfx.
5//
6// Licensed under the MIT License. See the LICENSE file in the project root
7// for full license information.
8
9#pragma once
10
11// Standard includes
12#include <cstdint>
13#include <vector>
14
15// Project includes
16#include "../messages/Message.hpp"
17
18namespace dfx::Core::details
19{
20class Packer
21{
22public:
23 static std::vector<uint8_t> pack(Message const & message);
24};
25} // !namespace dfx::Core::details
Abstract base class for messages exchanged between nodes.
Definition Message.hpp:86
Definition Packer.hpp:21
Definition Framer.hpp:45