Tileson 1.4.0
A helpful json parser for Tiled maps
|
#include <Base64Decompressor.hpp>
Public Member Functions | |
const std::string & | name () const override |
std::string | decompress (const std::string_view &s) override |
std::string | decompressFile (const fs::path &path) override |
std::string | decompress (const void *data, size_t size) override |
![]() | |
virtual | ~IDecompressor ()=default |
|
inlineoverridevirtual |
Used primarily for Tiled related decompression.
input | Input data |
Implements tson::IDecompressor< std::string_view, std::string >.
|
inlineoverridevirtual |
UNUSED! Does nothing
path |
Implements tson::IDecompressor< std::string_view, std::string >.
|
inlineoverridevirtual |
UNUSED! Does nothing
path |
Implements tson::IDecompressor< std::string_view, std::string >.
|
inlineoverridevirtual |
If the name matches with 'compression' or 'encoding' the decompress() function will be called automatically for the actual Layer. Encoding-related matching is handled first!
Known values:
compression: zlib, gzip, zstd (since Tiled 1.3) or empty (default) (tilelayer only). encoding: csv (default) or base64 (tilelayer only).
Implements tson::IDecompressor< std::string_view, std::string >.