mal-packet-weaver
C++20 packet serialization/deserialization library.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
uuid.hpp File Reference

Defines utilities for working with Universally Unique Identifiers (UUIDs). More...

Include dependency graph for uuid.hpp:

Go to the source code of this file.

Classes

class  mal_toolkit::uuid::UUID
 UUIDv4 (random 128-bits) RFC-4122. More...
 
class  mal_toolkit::uuid::UUIDGenerator< RNG >
 Generates UUIDv4 from a provided random generator (c++11 random module). std::mt19937_64 is highly recommended as it has a SIMD implementation that makes it very fast and it produces high quality randomness. More...
 
struct  std::hash< mal_toolkit::uuid::UUID >
 

Namespaces

namespace  mal_toolkit
 Contains a collection of tools and utilities provided by the MAL Toolkit library.
 
namespace  mal_toolkit::uuid
 
namespace  std
 STL namespace.
 

Functions

void mal_toolkit::uuid::m128itos (__m128i x, char *mem)
 Converts a 128-bits unsigned int to an UUIDv4 string representation using SIMD via AVX2.
 
__m128i mal_toolkit::uuid::stom128i (const char *mem)
 Converts an UUIDv4 string representation to a 128-bits unsigned int using SIMD via AVX2.
 

Detailed Description

Defines utilities for working with Universally Unique Identifiers (UUIDs).

Definition in file uuid.hpp.