Files
BloomPatched/src/Services/StringService.hpp

23 lines
554 B
C++
Raw Normal View History

2022-07-23 15:36:05 +01:00
#pragma once
#include <string>
#include <vector>
2022-07-23 15:36:05 +01:00
namespace Bloom::Services
2022-07-23 15:36:05 +01:00
{
class StringService
2022-07-23 15:36:05 +01:00
{
public:
static std::string asciiToLower(std::string str);
static std::string asciiToUpper(std::string str);
static bool isAscii(const std::string& str);
static std::string replaceUnprintable(std::string str);
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
};
}