Skip to main content

IDeflateProvider

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
[Obsolete("Use DeflateCompressor and IStreamCompressor")]
public interface IDeflateProvider

Methods

Deflate(String)

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

System.Byte[]

Parameters
TypeName
System.Stringtext

Deflate(Byte[])

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

System.Byte[]

Parameters
TypeName
System.Byte[]bytes

Inflate(Byte[])

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

System.String

Parameters
TypeName
System.Byte[]gzBuffer

InflateBytes(Byte[])

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

System.Byte[]

Parameters
TypeName
System.Byte[]gzBuffer

DeflateStream(Stream)

View Source
Declaration
Stream DeflateStream(Stream outputStream)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreamoutputStream

InflateStream(Stream)

View Source
Declaration
Stream InflateStream(Stream inputStream)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreaminputStream