uuid_parse overloads
Synopses
Declared in <folly/codec/Uuid.h>
Checks that s is 36 bytes long and overwrites out with 16 bytes.
UuidParseCode
uuid_parse(
std::string& out,
std::string_view s);
Reads 36 bytes from s and writes 16 bytes to out.
UuidParseCode
uuid_parse(
uint8_t* out,
char const* s);
Return Value
A code indicating whether parsing succeeded.
Parameters
Name |
Description |
out |
Destination string receiving the 16 decoded bytes. |
s |
Source view holding the 36 UUID characters. |
Created with MrDocs