diff options
author | rtk0c <[email protected]> | 2021-08-15 19:20:55 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-08-15 19:20:55 -0700 |
commit | b79a244d76c66287c6228e3845aa3af91a847f5d (patch) | |
tree | a6a425395ffc534dbc5532b274543c14dc5d53c5 /core/src/Utils/IO/StringIntegration.hpp | |
parent | c51a61c0f0de65a3e64f589816a56f21ed4e8528 (diff) |
More work on IO adapters (not working)
Diffstat (limited to 'core/src/Utils/IO/StringIntegration.hpp')
-rw-r--r-- | core/src/Utils/IO/StringIntegration.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/Utils/IO/StringIntegration.hpp b/core/src/Utils/IO/StringIntegration.hpp index d4be23a..35b1660 100644 --- a/core/src/Utils/IO/StringIntegration.hpp +++ b/core/src/Utils/IO/StringIntegration.hpp @@ -1,11 +1,10 @@ #pragma once -#include "Utils/IO/DataStream.hpp" - #include <iterator> #include <string> #include <string_view> +namespace DataStreamIntegrations { void ReadFromDataStream(DataStream& s, std::string& str) { uint64_t size; @@ -26,4 +25,5 @@ void WriteToDataStream(DataStream& s, const std::string_view& str) { s.Write((uint64_t)str.size()); s.WriteBytes(str.size(), str.data()); -}
\ No newline at end of file +} +} // namespace DataStreamIntegrations |