MapLibre Native Core
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Typedefs
a
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerations
a
b
c
e
f
h
i
k
l
m
n
o
r
s
t
v
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Functions
a
b
e
i
m
o
s
t
Files
File List
File Members
All
Macros
•
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
10
std::string
compress
(
const
std::string
& raw,
int
windowBits =
CompressionFormat::ZLIB
);
11
std::string
decompress
(
const
std::string
& raw,
int
windowBits =
CompressionFormat::DETECT
);
12
13
}
// namespace util
14
}
// namespace mbgl
mbgl::style::expression::dsl::string
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)
mbgl::util::compress
std::string compress(const std::string &raw, int windowBits=CompressionFormat::ZLIB)
mbgl::util::CompressionFormat
CompressionFormat
Definition:
compression.hpp:8
mbgl::util::DEFLATE
@ DEFLATE
Definition:
compression.hpp:8
mbgl::util::DETECT
@ DETECT
Definition:
compression.hpp:8
mbgl::util::GZIP
@ GZIP
Definition:
compression.hpp:8
mbgl::util::ZLIB
@ ZLIB
Definition:
compression.hpp:8
mbgl::util::decompress
std::string decompress(const std::string &raw, int windowBits=CompressionFormat::DETECT)
mbgl
Definition:
actor.hpp:15
include
mbgl
util
compression.hpp
MapLibre website
|
GitHub repository