LibTMJ
1.0.0
A library for loading JSON Tiled maps
|
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... | |
size_t | b64_decode_size (const char *data) |
Calculates the size of the data decoded from the given base64 string. More... | |
bool | b64_is_valid_char (char c) |
char * | tmj_b64_encode (uint8_t *data) |
Unimplemented, but may be useful to implement in the future. More... | |
uint8_t * | tmj_b64_decode (const char *data, size_t *decoded_size) |
Decodes a base64 string. More... | |
Variables | |
const char | b64_encode_table [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
const unsigned char | b64_decode_table [] |
size_t b64_decode_size | ( | const char * | data | ) |
bool b64_is_valid_char | ( | char | c | ) |
char* tmj_b64_encode | ( | uint8_t * | data | ) |
const char b64_encode_table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
const unsigned char b64_decode_table[] |