MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compression.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 namespace mbgl {
6 namespace util {
7 
8 enum CompressionFormat { ZLIB = 15, GZIP = 15 + 16, DEFLATE = -15, DETECT = 15 + 32 };
9 
12 
13 } // namespace util
14 } // namespace mbgl
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)
std::string compress(const std::string &raw, int windowBits=CompressionFormat::ZLIB)
std::string decompress(const std::string &raw, int windowBits=CompressionFormat::DETECT)
Definition: actor.hpp:15