diff options
Diffstat (limited to 'core/src/Utils/IO/UuidIntegration.hpp')
-rw-r--r-- | core/src/Utils/IO/UuidIntegration.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/Utils/IO/UuidIntegration.hpp b/core/src/Utils/IO/UuidIntegration.hpp index b6ca062..605f821 100644 --- a/core/src/Utils/IO/UuidIntegration.hpp +++ b/core/src/Utils/IO/UuidIntegration.hpp @@ -1,5 +1,6 @@ #pragma once +#include "Utils/IO/DataStream.hpp" #include "Utils/UUID.hpp" #include <cstddef> @@ -9,7 +10,7 @@ namespace DataStreamAdapters { struct Uuid { - void ReadFromDataStream(DataStream& s, uuids::uuid& uuid) + void ReadFromDataStream(InputDataStream& s, uuids::uuid& uuid) { uint8_t buffer[16]; s.ReadBytes(16, buffer); @@ -17,7 +18,7 @@ struct Uuid uuid = uuids::uuid(gsl::span<uint8_t, 16>{ buffer }); } - void WriteToDataStream(DataStream& s, const uuids::uuid& uuid) + void WriteToDataStream(OutputDataStream& s, const uuids::uuid& uuid) { auto gslSpan = uuid.as_bytes(); s.WriteBytes(gslSpan.size(), gslSpan.data()); |