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
10
namespace
vcryptpp::VFONT
{
11
12
constexpr
std::string_view
SIGNATURE
=
"VFONT1"
;
13
14
constexpr
uint8_t
MAGIC
= 167;
15
16
[[nodiscard]] std::vector<std::byte>
decrypt
(std::span<const std::byte> data);
17
18
}
// namespace vcryptpp::VFONT
Math.h
vcryptpp::VFONT
Definition:
VFONT.h:10
vcryptpp::VFONT::MAGIC
constexpr uint8_t MAGIC
Definition:
VFONT.h:14
vcryptpp::VFONT::SIGNATURE
constexpr std::string_view SIGNATURE
Definition:
VFONT.h:12
vcryptpp::VFONT::decrypt
std::vector< std::byte > decrypt(std::span< const std::byte > data)
Definition:
VFONT.cpp:9
include
vcryptpp
VFONT.h
Generated by
1.9.6