2021-07-10, 02:20 PM
samp-uuid-rs
This library provides a UUID v4?generator function.
UUIDs are generally used for identifying information that needs to be unique within a system or network thereof. Their uniqueness and low probability in being repeated makes them useful for being associative keys in databases and identifiers for physical hardware within an organization.
Installation
Simply install to your project:
Include in your code and begin using the library:
Usage
Build
To build, run:
Testing
To test, run:
This library provides a UUID v4?generator function.
UUIDs are generally used for identifying information that needs to be unique within a system or network thereof. Their uniqueness and low probability in being repeated makes them useful for being associative keys in databases and identifiers for physical hardware within an organization.
Installation
Simply install to your project:
Code:
sampctl package install carlos-menezes/samp-uuid-rs
Include in your code and begin using the library:
Quote:
#include <uuid>
Usage
Code:
new dest[UUID_LEN];
UUID(dest);
printf("%s", dest); // xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
Build
To build, run:
Code:
make build
Testing
To test, run:
Code:
make test