|
CeresEngine 0.2.0
A game development framework
|
The serializer is responsible from taking a C++ object and make it into stream of bytes from it. More...
#include <CeresEngine/Serialization/Serializer.hpp>
Public Member Functions | |
| virtual | ~ISerializer () noexcept=default |
| virtual void | serialize (const Box &value)=0 |
Serializes the given value into a stream of bytes written to dataStream. | |
The serializer is responsible from taking a C++ object and make it into stream of bytes from it.
The object can be reconstructed from the written stream of bytes by using a compatible Deserializer.
|
virtualdefaultnoexcept |
Serializes the given value into a stream of bytes written to dataStream.
The layout, format and details on how the object is serialized is open for the serializer implementation to decide.
| value | The value to be written to the data stream. |
Implemented in CeresEngine::Serializer.