git-svn-id: svn://ultimatepp.org/upp/trunk@10138 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-08-03 07:05:14 +00:00
parent f9d2e8e7ed
commit 71fc06925a

View file

@ -9,8 +9,9 @@ CONSOLE_APP_MAIN
StdLogSetup(LOG_COUT|LOG_FILE);
String data = LoadFile("C:/xxx/xxx/upp-x11-src-9041.tar");
auto cp = [](int64 pos, int64 size) -> bool { DLOG("Compress: " << pos << " " << size); return false; };
auto dp = [](int64 pos, int64 size) -> bool { DLOG("DeCompress: " << pos << " " << size); return false; };
EventGate<int64, int64> cp, dp;
cp << [](int64 pos, int64 size) -> bool { DLOG("Compress: " << pos << " " << size); return false; };
dp << [](int64 pos, int64 size) -> bool { DLOG("DeCompress: " << pos << " " << size); return false; };
{
String c = ZstdCompress(data, cp);