Turnstone Operating System
Loading...
Searching...
No Matches
zpack.h File Reference

z77 compression algorithm header More...

#include <compression.h>

Macros

#define ___ZPACK_H   0
 

Functions

int8_t zpack_pack (buffer_t *in, buffer_t *out)
 packs data at input buffer to output buffer with z77 algorithm More...
 
int8_t zpack_unpack (buffer_t *in, buffer_t *out)
 unpacks data at input buffer to output buffer with z77 algorithm More...
 

Detailed Description

z77 compression algorithm header

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.

Macro Definition Documentation

◆ ___ZPACK_H

#define ___ZPACK_H   0

prevent duplicate header error macro

Function Documentation

◆ zpack_pack()

int8_t zpack_pack ( buffer_t in,
buffer_t out 
)

packs data at input buffer to output buffer with z77 algorithm

Parameters
[in]ininput buffer
[in]outoutput buffer
Returns
size of output buffer

◆ zpack_unpack()

int8_t zpack_unpack ( buffer_t in,
buffer_t out 
)

unpacks data at input buffer to output buffer with z77 algorithm

Parameters
[in]ininput buffer
[in]outoutput buffer
Returns
size of output buffer