Exemplo n.º 1
0
        public static IEnumerable <byte> Decompress(IEnumerable <byte> data)
        {
            var framed = AddFrame(data);

            return(LZ4Helper.Decompress(framed));
        }
Exemplo n.º 2
0
 public static void Decompress(string lz4Path, string destinationFile)
 {
     File.WriteAllBytes(destinationFile, LZ4Helper.Decompress(File.ReadAllBytes(lz4Path)));
 }
Exemplo n.º 3
0
        public static byte[] Decompress(byte[] data)
        {
            var framed = AddFrame(data);

            return(LZ4Helper.Decompress(framed));
        }
Exemplo n.º 4
0
 public static void Compress(string tarPath, string destinationFile)
 {
     File.WriteAllBytes(destinationFile, LZ4Helper.Compress(File.ReadAllBytes(tarPath)));
 }