SOLA
Loading...
Searching...
No Matches
solanet
include
solanet
uuid.h
1
// Copyright The SOLA Contributors
2
//
3
// Licensed under the MIT License.
4
// For details on the licensing terms, see the LICENSE file.
5
// SPDX-License-Identifier: MIT
6
7
#ifndef SOLANET_UUID_H_
8
#define SOLANET_UUID_H_
9
10
#include <array>
11
#include <cstdint>
12
#include <string>
13
14
namespace
solanet {
15
16
namespace
detail {
17
static
constexpr
uint32_t kUuidByteLength = 16;
// 16 byte = 128 bit
18
}
19
20
using
UUID = std::array<uint8_t, detail::kUuidByteLength>;
21
23
std::string uuidToString(UUID uuid);
24
}
// namespace solanet
25
26
#endif
// SOLANET_UUID_H_
Generated by
1.9.8