內存中進行壓縮和解壓的兩個方法:
壓縮
int RamEncode(Byte *inBuffer, //輸入內存緩沖區指針Byte*類型
size_t inSize, //輸入內存緩沖區的大小
Byte *outBuffer, //輸出緩沖區指針Byte*類型
size_t &outSize, //計算出的輸出緩沖區大小
Int32 dictionary //字典的大小
)
解壓
int RamDecode(Byte *inBuffer, //輸入內存緩沖區指針Byte*類型
size_t inSize, //輸入內存緩沖區的大小
Byte *outBuffer, //輸出緩沖區指針Byte*類型
size_t &outSize, //計算出的輸出緩沖區大小
Int32 dictionary //字典的大小
)
對文件進行壓縮和解壓的兩個方法:
壓縮:
int FileEncode(LPCTSTR inFile, //輸入文件路徑
LPCTSTR outFile, //輸出文件路徑
Int32 dictionary //字典大小
)
解壓:
int FileDecode(LPCTSTR inFile, //輸入文件路徑
LPCTSTR outFile, //輸出文件路徑
Int32 dictionary //字典大小
)
標簽:
RamEncode
inBuffer
inSize
size_t
上傳時間:
2014-01-21
上傳用戶:wangchong
tr1 Byte "Please input the first 64-bit in hex:first - second",0dh,0ah,0
string Byte "remener :use enter to tell high 32-bit from low 32-bit",0dh,0ah,0
examp1 Byte "eg: 1234ecdf",0dh,0ah,0
examp2 Byte " 03ab2543",0dh,0ah,0
標簽:
first
Byte
remener
Please
上傳時間:
2014-08-22
上傳用戶:huyiming139