aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Utils/IO/UuidIntegration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/source/Cplt/Utils/IO/UuidIntegration.hpp')
-rw-r--r--app/source/Cplt/Utils/IO/UuidIntegration.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/source/Cplt/Utils/IO/UuidIntegration.hpp b/app/source/Cplt/Utils/IO/UuidIntegration.hpp
index 20c1e7e..49afd19 100644
--- a/app/source/Cplt/Utils/IO/UuidIntegration.hpp
+++ b/app/source/Cplt/Utils/IO/UuidIntegration.hpp
@@ -8,18 +8,15 @@
#include <iterator>
namespace DataStreamAdapters {
-struct Uuid
-{
- static void ReadFromDataStream(InputDataStream& stream, uuids::uuid& uuid)
- {
+struct Uuid {
+ static void ReadFromDataStream(InputDataStream& stream, uuids::uuid& uuid) {
uint8_t buffer[16];
stream.ReadBytes(16, buffer);
uuid = uuids::uuid(gsl::span<uint8_t, 16>{ buffer });
}
- static void WriteToDataStream(OutputDataStream& stream, const uuids::uuid& uuid)
- {
+ static void WriteToDataStream(OutputDataStream& stream, const uuids::uuid& uuid) {
auto gslSpan = uuid.as_bytes();
stream.WriteBytes(gslSpan.size(), gslSpan.data());
}