SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
LZMA.h File Reference
#include <cstddef>
#include <optional>
#include <span>
#include <vector>
#include <sourcepp/parser/Binary.h>
#include <sourcepp/Math.h>
Include dependency graph for LZMA.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sourcepp
 
namespace  sourcepp::compression
 

Functions

std::optional< std::vector< std::byte > > sourcepp::compression::compressValveLZMA (std::span< const std::byte > data, uint8_t compressLevel=6)
 
std::optional< std::vector< std::byte > > sourcepp::compression::decompressValveLZMA (std::span< const std::byte > data)
 

Variables

constexpr auto sourcepp::compression::VALVE_LZMA_SIGNATURE = parser::binary::makeFourCC("LZMA")