C# Class ServiceStack.Support.NetDeflateProvider

Inheritance: IDeflateProvider
显示文件 Open project: ServiceStack/ServiceStack

Public Methods

Method Description
Deflate ( byte bytes ) : byte[]
Deflate ( string text ) : byte[]
DeflateStream ( Stream outputStream ) : Stream
Inflate ( byte gzBuffer ) : string
InflateBytes ( byte gzBuffer ) : byte[]
InflateStream ( Stream inputStream ) : Stream

Method Details

Deflate() public method

public Deflate ( byte bytes ) : byte[]
bytes byte
return byte[]

Deflate() public method

public Deflate ( string text ) : byte[]
text string
return byte[]

DeflateStream() public method

public DeflateStream ( Stream outputStream ) : Stream
outputStream System.IO.Stream
return System.IO.Stream

Inflate() public method

public Inflate ( byte gzBuffer ) : string
gzBuffer byte
return string

InflateBytes() public method

public InflateBytes ( byte gzBuffer ) : byte[]
gzBuffer byte
return byte[]

InflateStream() public method

public InflateStream ( Stream inputStream ) : Stream
inputStream System.IO.Stream
return System.IO.Stream