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
18
namespace
dfx::Core::details
19
{
20
class
Packer
21
{
22
public
:
23
static
std::vector<uint8_t> pack(
Message
const
& message);
24
};
25
}
// !namespace dfx::Core::details
dfx::Core::Message
Abstract base class for messages exchanged between nodes.
Definition
Message.hpp:86
dfx::Core::details::Packer
Definition
Packer.hpp:21
dfx::Core::details
Definition
Framer.hpp:45
lib
dfx-core
details
Packer.hpp
Generated by
1.14.0