Common types, macros, and standard library includes used throughout AnimaEngine.
unsigned char u8
Definition: common.h:14
CompressionType Lz_Detect(const u8 *data, size_t size)
Auto-detects the compression format of a data buffer by inspecting its header byte.
Definition: lz.c:8
int Lz_Decompress(const u8 *in_data, size_t in_size, u8 **out_data, size_t *out_size, CompressionType *out_type)
Decompresses an LZ10 or LZ11 compressed data stream.
Definition: lz.c:270
const char * Lz_CompressionName(CompressionType type)
Returns a human-readable name string for a CompressionType enum.
Definition: lz.c:25
CompressionType
Categorization of compression headers found in NDS/Nitro file formats.
Definition: lz.h:14
@ COMPRESSION_LZ10
Definition: lz.h:16
@ COMPRESSION_NONE
Definition: lz.h:15
@ COMPRESSION_LZ11
Definition: lz.h:17
@ COMPRESSION_UNKNOWN
Definition: lz.h:18