mirror of
https://github.com/dwsJason/gsla.git
synced 2024-12-10 07:49:32 +00:00
22 lines
529 B
C
22 lines
529 B
C
//
|
|
// LZB Encode
|
|
//
|
|
#ifndef LZB_H
|
|
#define LZB_H
|
|
|
|
//
|
|
// returns the size of data saved into the pDest Buffer
|
|
//
|
|
int LZB_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize);
|
|
int Old_LZB_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize);
|
|
|
|
//
|
|
// LZB Compressor that uses GSLA Opcodes while encoding
|
|
//
|
|
int LZBA_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize,
|
|
unsigned char* pDataStart, unsigned char* pDictionary,
|
|
int dictionarySize);
|
|
|
|
#endif // LZB_H
|
|
|