[Redbean] Add UuidV7 method (#1213)

To Complete #1140 add UUID version 7 to Redbean
This commit is contained in:
Terror 2024-07-02 01:06:56 +12:00 committed by GitHub
parent c1f8d0678c
commit 72511ff0ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 103 additions and 1 deletions

View file

@ -1981,6 +1981,10 @@ function Underlong(str) end
--- @return string
function UuidV4() end
--- Generate a uuid_v7
--- @return string
function UuidV7() end
---@param x integer
---@return integer # position of first bit set.
--- Passing `0` will raise an error. Same as the Intel x86 instruction BSF.