From 9f310115bfb5986814dfebdfd9a6ce56d7bf6886 Mon Sep 17 00:00:00 2001 From: ivanpanch Date: Sat, 9 Aug 2025 17:54:59 +0200 Subject: [PATCH] Update name_generator_sha1.adoc --- doc/uuid/name_generator_sha1.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/uuid/name_generator_sha1.adoc b/doc/uuid/name_generator_sha1.adoc index a34f8ae..7cfaa9c 100644 --- a/doc/uuid/name_generator_sha1.adoc +++ b/doc/uuid/name_generator_sha1.adoc @@ -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: ::