| Updated: October 28, 2024 |
Encode a GUID based on its string representation
#include <pips/pips.h>
int pips_guid_from_str(pips_guid_t *guid,
const char *str,
const int str_len)
This function parses the given string representation of a GUID and encodes it as a 128-bit value. The string can be up to 32 characters long (the space required for a hexadecimal representation of a 128-bit value). If the string is shorter, the GUID's most significant bits are padded with zeros.