Result code returned by UUID parsing functions.

Synopsis

Declared in <folly/codec/Uuid.h>

enum class [[nodiscard]] UuidParseCode : unsigned char;

Members

Name

Description

SUCCESS

Parsing succeeded.

WRONG_LENGTH

Input did not have the expected length.

INVALID_CHAR

Input contained an invalid character.

Non-Member Functions

Name

Description

uuid_parse

Checks that s is 36 bytes long and overwrites out with 16 bytes.

uuid_parse

Reads 36 bytes from s and writes 16 bytes to out.

uuid_parse_buffer_to_buffer

Parses a 36‐byte UUID string into a 16‐byte buffer.

Return Value

Note

The return value should not be discarded.

Created with MrDocs