LibTMJ  1.0.0
A library for loading JSON Tiled maps
Functions
decode.h File Reference
#include <stdint.h>
#include <zstd.h>
#include <zlib.h>
Include dependency graph for decode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t * tmj_zstd_decompress (const uint8_t *data, size_t data_size, size_t *decompressed_size)
 Decompresses a zstd-compressed buffer of bytes. More...
 
uint8_t * tmj_zlib_decompress (const uint8_t *data, size_t data_size, size_t *decompressed_size)
 Decompresses a zlib/gzip-compressed buffer of bytes. More...
 
uint8_t * tmj_b64_decode (const char *data, size_t *decoded_size)
 Decodes a base64 string. More...