#include "irrlichttypes.h"
#include "exceptions.h"
#include <iostream>
#include <string_view>
Go to the source code of this file.
|
bool | ser_ver_supported (s32 v) |
|
void | compressZlib (const u8 *data, size_t data_size, std::ostream &os, int level=-1) |
|
void | compressZlib (std::string_view data, std::ostream &os, int level=-1) |
|
void | decompressZlib (std::istream &is, std::ostream &os, size_t limit=0) |
|
void | compressZstd (const u8 *data, size_t data_size, std::ostream &os, int level=0) |
|
void | compressZstd (std::string_view data, std::ostream &os, int level=0) |
|
void | decompressZstd (std::istream &is, std::ostream &os) |
|
void | compress (const u8 *data, u32 size, std::ostream &os, u8 version, int level=-1) |
|
void | compress (std::string_view data, std::ostream &os, u8 version, int level=-1) |
|
void | decompress (std::istream &is, std::ostream &os, u8 version) |
|
◆ SER_FMT_VER_HIGHEST_READ
#define SER_FMT_VER_HIGHEST_READ 29 |
◆ SER_FMT_VER_HIGHEST_WRITE
#define SER_FMT_VER_HIGHEST_WRITE 29 |
◆ SER_FMT_VER_INVALID
#define SER_FMT_VER_INVALID 255 |
◆ SER_FMT_VER_LOWEST_READ
#define SER_FMT_VER_LOWEST_READ 0 |
◆ SER_FMT_VER_LOWEST_WRITE
#define SER_FMT_VER_LOWEST_WRITE 24 |
◆ compress() [1/2]
void compress |
( |
const u8 * | data, |
|
|
u32 | size, |
|
|
std::ostream & | os, |
|
|
u8 | version, |
|
|
int | level = -1 ) |
◆ compress() [2/2]
void compress |
( |
std::string_view | data, |
|
|
std::ostream & | os, |
|
|
u8 | version, |
|
|
int | level = -1 ) |
|
inline |
◆ compressZlib() [1/2]
void compressZlib |
( |
const u8 * | data, |
|
|
size_t | data_size, |
|
|
std::ostream & | os, |
|
|
int | level = -1 ) |
◆ compressZlib() [2/2]
void compressZlib |
( |
std::string_view | data, |
|
|
std::ostream & | os, |
|
|
int | level = -1 ) |
|
inline |
◆ compressZstd() [1/2]
void compressZstd |
( |
const u8 * | data, |
|
|
size_t | data_size, |
|
|
std::ostream & | os, |
|
|
int | level = 0 ) |
◆ compressZstd() [2/2]
void compressZstd |
( |
std::string_view | data, |
|
|
std::ostream & | os, |
|
|
int | level = 0 ) |
|
inline |
◆ decompress()
void decompress |
( |
std::istream & | is, |
|
|
std::ostream & | os, |
|
|
u8 | version ) |
◆ decompressZlib()
void decompressZlib |
( |
std::istream & | is, |
|
|
std::ostream & | os, |
|
|
size_t | limit = 0 ) |
◆ decompressZstd()
void decompressZstd |
( |
std::istream & | is, |
|
|
std::ostream & | os ) |
◆ ser_ver_supported()
bool ser_ver_supported |
( |
s32 | v | ) |
|
|
inline |