SPH
|
Object for reading serialized primitives from input stream. More...
#include <Serializer.h>
Public Member Functions | |
Deserializer (const Path &path) | |
Opens a stream associated with given path and prepares the file for deserialization. More... | |
template<typename... TArgs> | |
void | read (TArgs &... args) |
void | skip (const Size size) |
Skip a number of bytes in the stream; used to skip unused parameters or padding bytes. More... | |
![]() | |
Noncopyable ()=default | |
Noncopyable (const Noncopyable &)=delete | |
Noncopyable (Noncopyable &&)=default | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Noncopyable & | operator= (Noncopyable &&)=default |
Object for reading serialized primitives from input stream.
Definition at line 124 of file Serializer.h.
|
inline |
Opens a stream associated with given path and prepares the file for deserialization.
Definition at line 131 of file Serializer.h.
|
inline |
Deserialize a list of parameters from the binary file.
SerializerException | if reading failed |
Definition at line 144 of file Serializer.h.
|
inline |
Skip a number of bytes in the stream; used to skip unused parameters or padding bytes.
Definition at line 149 of file Serializer.h.