zlib - zlib Compression/Decompression (Obsolete)#

Adapted Air105

Note

This page document is automatically generated by this file. If there is any error, please submit issue or help modify pr, thank you๏ผ

Example

-- This library has been abandoned, please use miniz or fastlz library

zlib.c(input_file,output_file)#

zlib Compression (requires about 270k of memory, most mcuโ€™s do not support)

Parameters

Incoming Value Type

Explanation

string

input_file Input file

string

output_file Output file

Return Value

return value type

explanation

bool

Normal return ture failure return false

Examples

zlib.c("/sd/1.txt","/sd/zlib")

zlib.d(input_file,output_file)#

zlib decompression (requires about 18k of memory, supported by most mcu)

Parameters

Incoming Value Type

Explanation

string

input_file Input file

string

output_file Output file

Return Value

return value type

explanation

bool

Normal return ture failure return false

Examples

zlib.d("/sd/zlib","/sd/1.txt")