1234567891011121314151617181920212223242526272829303132333435 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2020-08-21
- * Changed: 2022-05-12
- *
- * */
- #ifndef LS_STD_SERIALIZABLE_HPP
- #define LS_STD_SERIALIZABLE_HPP
- #include <ls_std/core/types/Types.hpp>
- namespace ls
- {
- namespace std
- {
- namespace core
- {
- class ISerializable
- {
- public:
- ISerializable() = default;
- ~ISerializable() = default;
- virtual ls::std::core::type::byte_field marshal() = 0;
- virtual void unmarshal(const ls::std::core::type::byte_field &_data) = 0;
- };
- }
- }
- }
- #endif
|