public static function createFromHex($hexString): ?GUID
    {
        $hexString = str_replace(static::$searchChars, static::$replaceChars, $hexString);
        if (!preg_match('/^[0-9A-Fa-f]{32}$/', $hexString)) {
            return null;
        }

        $bin = pack('H*', $hexString);
        if (!static::validate($bin)) {
            return null;
        }

        return new static($bin);
    }