/*---------------------------------------------------------*\
| StringUtils.h                                             |
|                                                           |
|   String utility functions                                |
|                                                           |
|   This file is part of the OpenRGB project                |
|   SPDX-License-Identifier: GPL-2.0-or-later               |
\*---------------------------------------------------------*/

#pragma once

#include <string>

class StringUtils
{
public:
    static const char* wchar_to_char(const wchar_t* pwchar);
    static std::string wchar_to_string(const wchar_t* pwchar);
    static std::string wstring_to_string(const std::wstring wstring);
    static std::string u16string_to_string(const std::u16string wstring);
    static const std::string remove_null_terminating_chars(std::string input);
    static std::string u32int_to_hexString(unsigned int value);
    static std::string normalize_hex_id(const std::string& id);
};
