-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSerializer.hpp
More file actions
32 lines (27 loc) · 1.21 KB
/
Serializer.hpp
File metadata and controls
32 lines (27 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Serializer.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/01 18:20:32 by zelhajou #+# #+# */
/* Updated: 2025/01/02 20:29:53 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SERIALIZER_HPP
#define SERIALIZER_HPP
#include <stdint.h>
#include "Data.hpp"
class Serializer
{
private:
Serializer();
Serializer(const Serializer &src);
Serializer &operator=(const Serializer &src);
~Serializer();
public:
static uintptr_t serialize(Data *ptr);
static Data *deserialize(uintptr_t raw);
};
#endif