#include "irrlichttypes.h"
#include "exceptions.h"
#include <iostream>
#include <string_view>
Go to the source code of this file.
|
bool | ser_ver_supported_read (s32 v) |
|
bool | ser_ver_supported_write (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) |
|
◆ 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_read()
bool ser_ver_supported_read |
( |
s32 | v | ) |
|
|
inline |
◆ ser_ver_supported_write()
bool ser_ver_supported_write |
( |
s32 | v | ) |
|
|
inline |
◆ SER_FMT_VER_HIGHEST_READ
u8 SER_FMT_VER_HIGHEST_READ = 29 |
|
constexpr |
◆ SER_FMT_VER_HIGHEST_WRITE
u8 SER_FMT_VER_HIGHEST_WRITE = 29 |
|
constexpr |
◆ SER_FMT_VER_INVALID
u8 SER_FMT_VER_INVALID = 255 |
|
constexpr |
◆ SER_FMT_VER_LOWEST_READ
u8 SER_FMT_VER_LOWEST_READ = 0 |
|
constexpr |
◆ SER_FMT_VER_LOWEST_WRITE
u8 SER_FMT_VER_LOWEST_WRITE = 24 |
|
constexpr |