Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

ulid

ULID for pascal

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

ULID

pascal版的ULID(通用唯一按字典排序的标识符),可用于替代UUID/GUID。

pascal
+---------------------------------+---------------------------------+
| 0                               | 1                               |
| 0 1 2 3 4 5 6 7 8 9 A B C D E F | 0 1 2 3 4 5 6 7 8 9 A B C D E F |
+---------------------------------+---------------------------------+
|                      32_bit_uint_time_high                        |
+---------------------------------+---------------------------------+
|       16_bit_uint_time_low      |       16_bit_uint_random        |
+---------------------------------+---------------------------------+
|                       32_bit_uint_random                          |
+---------------------------------+---------------------------------+
|                       32_bit_uint_random                          |
+---------------------------------+---------------------------------+

捐赠作者