Beispiel #1
0
 public static MemoryStream Compress(Stream source, ZLibCompLevel level = ZLibCompLevel.Default)
 {
     return(CommonCompressor.Compress(CreateStream, source, level));
 }
Beispiel #2
0
 public static byte[] Compress(byte[] source, ZLibCompLevel level = ZLibCompLevel.Default)
 {
     return(CommonCompressor.Compress(CreateStream, source, level));
 }
Beispiel #3
0
 public static byte[] Decompress(byte[] source)
 {
     return(CommonCompressor.Decompress(CreateStream, source));
 }
Beispiel #4
0
 public static MemoryStream Decompress(Stream source)
 {
     return(CommonCompressor.Decompress(CreateStream, source));
 }