C# 클래스 Orc.MediaSync.Shared.Helpers.Compression

파일 보기 프로젝트 열기: Offroadcode/MediaSync

공개 메소드들

메소드 설명
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

메소드 상세

Compress() 공개 정적인 메소드

Compresses the given bytes using a gZip algorithm
public static Compress ( byte bytes ) : byte[]
bytes byte
리턴 byte[]

CopyTo() 공개 정적인 메소드

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

Unzip() 공개 정적인 메소드

DeCompresses the given bytes using a gZip algorithm
public static Unzip ( byte bytes ) : byte[]
bytes byte
리턴 byte[]