Core/MemoryStream: Add hash overload for MemoryStream
Former-commit-id: ab618e0db87bd85994a3b11a29c7f38e28d8aae3
This commit is contained in:
15
include/Nazara/Core/MemoryStream.inl
Normal file
15
include/Nazara/Core/MemoryStream.inl
Normal 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>
|
||||
Reference in New Issue
Block a user