コード例 #1
0
ファイル: Lz4.cs プロジェクト: jewinters/maelstrom
        public static IEnumerable <byte> Decompress(IEnumerable <byte> data)
        {
            var framed = AddFrame(data);

            return(LZ4Helper.Decompress(framed));
        }
コード例 #2
0
 public static void Decompress(string lz4Path, string destinationFile)
 {
     File.WriteAllBytes(destinationFile, LZ4Helper.Decompress(File.ReadAllBytes(lz4Path)));
 }
コード例 #3
0
        public static byte[] Decompress(byte[] data)
        {
            var framed = AddFrame(data);

            return(LZ4Helper.Decompress(framed));
        }
コード例 #4
0
 public static void Compress(string tarPath, string destinationFile)
 {
     File.WriteAllBytes(destinationFile, LZ4Helper.Compress(File.ReadAllBytes(tarPath)));
 }