/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Serializer.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/01/05 13:55:22 by bchanot #+# #+# */ /* Updated: 2026/01/05 19:11:57 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef SERIALIZER_HPP # define SERIALIZER_HPP # include # include # include "Data.hpp" class Serializer { public: Serializer( Serializer const & src ); ~Serializer(); Serializer & operator=( Serializer const & rhs ); static uintptr_t serialize(Data* ptr); static Data* deserialize(uintptr_t raw); private : Serializer(); }; std::ostream & operator<<( std::ostream & o, Serializer const & i ); #endif /* ****************************************************** SERIALIZER_H */