SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
String.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <span>
5#include <string>
6#include <string_view>
7#include <vector>
8
9namespace sourcepp::crypto {
10
11std::vector<std::byte> decodeHexString(std::string_view hex);
12
13std::string encodeHexString(std::span<const std::byte> hex);
14
15} // namespace sourcepp::crypto
std::string encodeHexString(std::span< const std::byte > hex)
Definition: String.cpp:21
std::vector< std::byte > decodeHexString(std::string_view hex)
Definition: String.cpp:10