📄 lz77.h
字号:
/* Name : lz77.h * * Notes: This header file contains all of the data structures and function * prototypes that are either globally available or at least available * across modules in the LZ77 compression code. * * $Log:$ */#ifndef LZ77_H#define LZ77_Hstruct LZ77Info{ UBYTE * input; /* Pointer to the input data. */ LONG length; /* The number of bytes to pack. */ UBYTE * output; /* The output buffer. */ LONG outBufSize; /* Size of output in bytes. */ LONG outLen; /* Number of bytes written to ouput.*/ LONG Flags; /* */ LONG Number; /* The number of this chunk. */ LONG Mode; /* The packing mode to use. */ APTR Password; /* */ LONG pritvate[4]; /* Private to XPK, don't use. */ UBYTE * buffer; UBYTE * tagPos; WORD nextBit; ULONG bufferOffset; LONG maxOffset; APTR hashTable;};extern ULONG CompressLZ77 ( struct LZ77Info * info );extern ULONG DecompressLZ77( struct LZ77Info * info );extern void PackFreeLZ77 ( struct LZ77Info * info );#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -