public static IEnumerator LoadData() { WWW www = new WWW(CompressTestCase.SrcDir + "/values"); yield return(www); File.WriteAllBytes(CompressTestCase.DstDir + "/values", www.bytes); CompressTestCase.LogFileSize("values"); www = new WWW(CompressTestCase.SrcDir + "/lzma.dat"); yield return(www); File.WriteAllBytes(CompressTestCase.DstDir + "/lzma.dat", www.bytes); CompressTestCase.LogFileSize("lzma"); }
public static void LoadData1() { WWW www = new WWW(CompressTestCase.SrcDir + "/values"); while (!www.isDone) { Thread.Sleep(0); } File.WriteAllBytes(CompressTestCase.DstDir + "/values", www.bytes); CompressTestCase.LogFileSize("values"); www = new WWW(CompressTestCase.SrcDir + "/lzma.dat"); while (!www.isDone) { Thread.Sleep(0); } File.WriteAllBytes(CompressTestCase.DstDir + "/lzma.dat", www.bytes); CompressTestCase.LogFileSize("lzma"); }
public static void lzma() { CompressTestCase.Tester.RunOne("lzma", 9, Mini.LZMA, Mini.DeLZMA); CompressTestCase.LogFileSize("lzma"); }
public static void mxz() { CompressTestCase.Tester.RunOne("mxz", 9, MiniW.MXZ, MiniW.DeMXZ); CompressTestCase.LogFileSize("mxz"); }