cesium-native 0.43.0
Loading...
Searching...
No Matches
Gzip.h
1#pragma once
2#include <span>
3#include <vector>
4
5namespace CesiumUtility {
6
14bool isGzip(const std::span<const std::byte>& data);
15
27bool gzip(const std::span<const std::byte>& data, std::vector<std::byte>& out);
28
40bool gunzip(
41 const std::span<const std::byte>& data,
42 std::vector<std::byte>& out);
43
44} // namespace CesiumUtility
Utility classes for Cesium.
bool gzip(const std::span< const std::byte > &data, std::vector< std::byte > &out)
Gzips data.
bool gunzip(const std::span< const std::byte > &data, std::vector< std::byte > &out)
Gunzips data.
bool isGzip(const std::span< const std::byte > &data)
Checks whether the data is gzipped.