This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
api:uuid [2016/07/08 06:00] payonel created |
api:uuid [2017/08/12 14:44] (current) guard13007 [UUID API] crap grammar fixed |
||
---|---|---|---|
Line 1: | Line 1: | ||
UUID API | UUID API | ||
--------- | --------- | ||
+ | |||
+ | **(new in OpenOS 1.6)** | ||
The uuid API is a very simple library for creating 128 bit random identifiers. | The uuid API is a very simple library for creating 128 bit random identifiers. | ||
Line 6: | Line 8: | ||
* ''uuid.next() string'' | * ''uuid.next() string'' | ||
- | Returns The guid API is used to create 128 bit random identifiers, represented as a hex value in a string grouped by 8, 4, 4, 4, and 12 hex characters, separated by dashes. | + | Returns 128 bit random identifiers, represented as a hex value in a string grouped by 8, 4, 4, 4, and 12 hex characters, separated by dashes. |
e.g. `34eb7b28-14d3-4767-b326-dd1609ba92e`. You might recognize this pattern as it is the same used for component addressing. | e.g. `34eb7b28-14d3-4767-b326-dd1609ba92e`. You might recognize this pattern as it is the same used for component addressing. | ||
Line 14: | Line 16: | ||
``` | ``` | ||
+ | Contents | ||
+ | ----------- | ||
+ | {{page>api:contents&noheader&noeditbutton&nouser&nofooter}} | ||