2022-07-23 15:36:05 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string>
|
2023-01-21 13:37:56 +00:00
|
|
|
#include <vector>
|
2022-07-23 15:36:05 +01:00
|
|
|
|
|
|
|
|
namespace Bloom
|
|
|
|
|
{
|
|
|
|
|
class String
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
static std::string asciiToLower(std::string str);
|
|
|
|
|
|
|
|
|
|
static std::string asciiToUpper(std::string str);
|
|
|
|
|
|
|
|
|
|
static bool isAscii(const std::string& str);
|
2023-01-21 13:37:56 +00:00
|
|
|
|
|
|
|
|
static std::string toHex(unsigned char value);
|
|
|
|
|
static std::string toHex(const std::vector<unsigned char>& data);
|
|
|
|
|
static std::string toHex(const std::string& data);
|
2022-07-23 15:36:05 +01:00
|
|
|
};
|
|
|
|
|
}
|