Skip to main content

NetDeflateProvider

Assembly: ServiceStack.Client.dll
View Source
Declaration
[Obsolete("Use DeflateProvider")]
public class NetDeflateProvider : IDeflateProvider

Properties

Instance

View Source
Declaration
public static NetDeflateProvider Instance { get; }

Methods

Deflate(String)

View Source
Declaration
public byte[] Deflate(string text)
Returns

System.Byte[]

Parameters
TypeName
System.Stringtext

Deflate(Byte[])

View Source
Declaration
public byte[] Deflate(byte[] bytes)
Returns

System.Byte[]

Parameters
TypeName
System.Byte[]bytes

DeflateStream(Stream)

View Source
Declaration
public Stream DeflateStream(Stream outputStream)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreamoutputStream

Inflate(Byte[])

View Source
Declaration
public string Inflate(byte[] gzBuffer)
Returns

System.String

Parameters
TypeName
System.Byte[]gzBuffer

InflateBytes(Byte[])

View Source
Declaration
public byte[] InflateBytes(byte[] gzBuffer)
Returns

System.Byte[]

Parameters
TypeName
System.Byte[]gzBuffer

InflateStream(Stream)

View Source
Declaration
public Stream InflateStream(Stream inputStream)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreaminputStream

Implements