2021-07-10, 02:20 PM
samp-uuid-rs
![[Image: sampctl-samp--uuid--rs-2f2f2f.svg?style=for-the-badge]](https://img.shields.io/badge/sampctl-samp--uuid--rs-2f2f2f.svg?style=for-the-badge)
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-rsInclude 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-xxxxxxxxxxxxBuild
To build, run:
Code:
make buildTesting
To test, run:
Code:
make test
