Luanti 5.16.0-dev
Loading...
Searching...
No Matches
MyGUID Struct Reference

A global unique identifier. More...

#include <guid.h>

Collaboration diagram for MyGUID:

Public Member Functions

std::string base64 () const
void serialize (std::ostream &os) const
void deSerialize (std::istream &is)

Public Attributes

std::array< char, 16 > bytes

Detailed Description

A global unique identifier.

It is global because it stays valid forever. It is unique because there are no collisions.

Member Function Documentation

◆ base64()

std::string MyGUID::base64 ( ) const

References base64_encode(), and bytes.

Here is the call graph for this function:

◆ deSerialize()

void MyGUID::deSerialize ( std::istream & is)

References bytes.

◆ serialize()

void MyGUID::serialize ( std::ostream & os) const

References bytes.

Member Data Documentation

◆ bytes

std::array<char, 16> MyGUID::bytes

Referenced by base64(), deSerialize(), and serialize().


The documentation for this struct was generated from the following files: