C# Class Orc.MediaSync.Shared.Helpers.Compression

Afficher le fichier Open project: Offroadcode/MediaSync

Méthodes publiques

Méthode Description
Compress ( byte bytes ) : byte[]

Compresses the given bytes using a gZip algorithm

CopyTo ( Stream src, Stream dest ) : void

Copies from one stream to another

Unzip ( byte bytes ) : byte[]

DeCompresses the given bytes using a gZip algorithm

Method Details

Compress() public static méthode

Compresses the given bytes using a gZip algorithm
public static Compress ( byte bytes ) : byte[]
bytes byte
Résultat byte[]

CopyTo() public static méthode

Copies from one stream to another
public static CopyTo ( Stream src, Stream dest ) : void
src System.IO.Stream
dest System.IO.Stream
Résultat void

Unzip() public static méthode

DeCompresses the given bytes using a gZip algorithm
public static Unzip ( byte bytes ) : byte[]
bytes byte
Résultat byte[]