Skip to main content

IGZipProvider

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

Methods

GZip(String)

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

System.Byte[]

Parameters
TypeName
System.Stringtext

GZip(Byte[])

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

System.Byte[]

Parameters
TypeName
System.Byte[]bytes

GUnzip(Byte[])

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

System.String

Parameters
TypeName
System.Byte[]gzBuffer

GUnzipBytes(Byte[])

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

System.Byte[]

Parameters
TypeName
System.Byte[]gzBuffer

GZipStream(Stream)

View Source
Declaration
Stream GZipStream(Stream outputStream)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreamoutputStream

GUnzipStream(Stream)

View Source
Declaration
Stream GUnzipStream(Stream gzStream)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreamgzStream