8#ifndef BOTAN_PARSING_UTILS_H_
9#define BOTAN_PARSING_UTILS_H_
11#include <botan/types.h>
42std::string
string_join(
const std::vector<std::string>& strs,
char delim);
58std::optional<uint16_t>
parse_u16(std::string_view input,
bool require_canonical =
false);
87std::map<std::string, std::string>
read_cfg(std::istream& is);
105std::map<std::string, std::string>
read_kv(std::string_view kv);
std::map< std::string, std::string > read_cfg(std::istream &is)
std::optional< uint64_t > parse_u64(std::string_view input, bool require_canonical)
BOTAN_TEST_API std::map< std::string, std::string > read_kv(std::string_view kv)
std::string tolower_string(std::string_view str)
std::vector< std::string > split_on(std::string_view str, char delim)
std::optional< size_t > parse_sz(std::string_view input, bool require_canonical)
std::optional< uint32_t > parse_u32(std::string_view input, bool require_canonical)
std::vector< std::string > parse_algorithm_name(std::string_view scan_name)
std::string string_join(const std::vector< std::string > &strs, char delim)
std::optional< uint16_t > parse_u16(std::string_view input, bool require_canonical)
uint32_t to_u32bit(std::string_view input)