SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
VFONT.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <span>
5#include <string_view>
6#include <vector>
7
8#include <sourcepp/Math.h>
9
10namespace vcryptpp::VFONT {
11
12constexpr std::string_view SIGNATURE = "VFONT1";
13
14constexpr uint8_t MAGIC = 167;
15
16[[nodiscard]] std::vector<std::byte> decrypt(std::span<const std::byte> data);
17
18} // namespace vcryptpp::VFONT
constexpr uint8_t MAGIC
Definition: VFONT.h:14
constexpr std::string_view SIGNATURE
Definition: VFONT.h:12
std::vector< std::byte > decrypt(std::span< const std::byte > data)
Definition: VFONT.cpp:9