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
Type | Name |
---|---|
System.String | text |
Deflate(Byte[])
View Source
Declaration
public byte[] Deflate(byte[] bytes)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.Byte[] | bytes |
DeflateStream(Stream)
View Source
Declaration
public Stream DeflateStream(Stream outputStream)
Returns
System.IO.Stream
Parameters
Type | Name |
---|---|
System.IO.Stream | outputStream |
Inflate(Byte[])
View Source
Declaration
public string Inflate(byte[] gzBuffer)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Byte[] | gzBuffer |
InflateBytes(Byte[])
View Source
Declaration
public byte[] InflateBytes(byte[] gzBuffer)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.Byte[] | gzBuffer |
InflateStream(Stream)
View Source
Declaration
public Stream InflateStream(Stream inputStream)
Returns
System.IO.Stream
Parameters
Type | Name |
---|---|
System.IO.Stream | inputStream |