From 8f0dda5eab181b0f14f2652b4e984aaaae3f258c Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 27 Jun 2022 18:27:13 -0700 Subject: Start from a clean slate --- core/src/Utils/IO/UuidIntegration.hpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 core/src/Utils/IO/UuidIntegration.hpp (limited to 'core/src/Utils/IO/UuidIntegration.hpp') diff --git a/core/src/Utils/IO/UuidIntegration.hpp b/core/src/Utils/IO/UuidIntegration.hpp deleted file mode 100644 index d028c50..0000000 --- a/core/src/Utils/IO/UuidIntegration.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once - -#include "Utils/IO/DataStream.hpp" -#include "Utils/UUID.hpp" - -#include -#include -#include - -namespace DataStreamAdapters { -struct Uuid -{ - static void ReadFromDataStream(InputDataStream& stream, uuids::uuid& uuid) - { - uint8_t buffer[16]; - stream.ReadBytes(16, buffer); - - uuid = uuids::uuid(gsl::span{ buffer }); - } - - static void WriteToDataStream(OutputDataStream& stream, const uuids::uuid& uuid) - { - auto gslSpan = uuid.as_bytes(); - stream.WriteBytes(gslSpan.size(), gslSpan.data()); - } -}; -} // namespace DataStreamAdapters -- cgit v1.2.3-70-g09d2