Core: Bring back MemoryStream class (It's not perfect but necessary until a better replacement comes out)

Former-commit-id: e3106b98c9825e313525298a8d46ff9c40bf5027
This commit is contained in:
Lynix
2016-01-15 02:24:34 +01:00
parent 2cace84c90
commit c9a63bc72c
3 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Debug.hpp>
namespace Nz
{
inline bool HashAppend(AbstractHash* hash, const MemoryStream& stream)
{
return HashAppend(hash, stream.GetBuffer());
}
}
#include <Nazara/Core/DebugOff.hpp>