Core: Add serialization interface
Former-commit-id: cfa749dba1b6f23ef8f38519e0bc9ad9492e3db3
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#define NAZARA_STRING_HPP
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Core/Algorithm.hpp>
|
||||
#include <atomic>
|
||||
#include <iosfwd>
|
||||
#include <memory>
|
||||
@@ -19,6 +18,8 @@ namespace Nz
|
||||
{
|
||||
class AbstractHash;
|
||||
class HashDigest;
|
||||
class InputStream;
|
||||
class OutputStream;
|
||||
|
||||
class NAZARA_CORE_API String
|
||||
{
|
||||
@@ -325,6 +326,8 @@ namespace Nz
|
||||
};
|
||||
|
||||
inline bool HashAppend(AbstractHash* hash, const String& string);
|
||||
NAZARA_CORE_API bool Serialize(OutputStream* output, const String& string);
|
||||
NAZARA_CORE_API bool Unserialize(InputStream* input, String* string);
|
||||
}
|
||||
|
||||
namespace std
|
||||
|
||||
Reference in New Issue
Block a user