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-01 20:08:01 +03:00
|
|
|
void remove_whitespaces_from_str(std::string& str);
|
2025-10-09 16:16:39 +03:00
|
|
|
bool is_valid_http_url(const std::string& str);
|