2
0
mirror of https://github.com/boostorg/uuid.git synced 2026-01-19 04:42:16 +00:00

Update name_generator_sha1.adoc

This commit is contained in:
ivanpanch
2025-08-09 17:54:59 +02:00
committed by GitHub
parent a05981d7be
commit 9f310115bf

View File

@@ -51,8 +51,8 @@ Returns: :: A name-based UUID version 5 produced from a digest of the namespace
Remarks: :: The characters of `name` are converted to a sequence of octets in the following manner:
+
* If `Ch` is `char` or `char8_t`, the characters are processed as octets directly;
* If `Ch` is `wchar_t`, the characters are converted to `uint32_t` and then serialized to four octets each using little-endian representation;
* If `Ch` is `char` or `char8_t`, the characters are processed as octets directly.
* If `Ch` is `wchar_t`, the characters are converted to `uint32_t` and then serialized to four octets each using little-endian representation.
* Otherwise, the character sequence is converted to UTF-8 and the result is processed as octets.
Example: ::