2025-07-06 20:43:53 +03:00
|
|
|
#pragma once
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
#include <filesystem>
|
|
|
|
|
|
|
|
|
|
std::vector<std::string> split_string_by_token(std::string str, std::string token);
|
|
|
|
|
|
|
|
|
|
// Hex character must be capitalized if it is a letter
|
|
|
|
|
uint8_t ascii_hex_char_to_number_no_checks(char asciiHex);
|
|
|
|
|
std::string byte_vector_to_hex_str(const std::vector<uint8_t>& byteVec);
|
|
|
|
|
std::string read_file_to_string(const std::filesystem::path& filePath);
|
2025-10-09 16:16:39 +03:00
|
|
|
bool is_valid_http_url(const std::string& str);
|
2025-12-03 09:29:51 +03:00
|
|
|
std::string remove_carriage_returns_from_str(std::string s);
|
2026-01-18 13:39:49 +03:00
|
|
|
std::string ensure_string_unique(const std::vector<std::string>& stringList, std::string str);
|