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
Type | Name |
---|---|
System.String | text |
GZip(Byte[])
View Source
Declaration
byte[] GZip(byte[] bytes)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.Byte[] | bytes |
GUnzip(Byte[])
View Source
Declaration
string GUnzip(byte[] gzBuffer)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Byte[] | gzBuffer |
GUnzipBytes(Byte[])
View Source
Declaration
byte[] GUnzipBytes(byte[] gzBuffer)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.Byte[] | gzBuffer |
GZipStream(Stream)
View Source
Declaration
Stream GZipStream(Stream outputStream)
Returns
System.IO.Stream
Parameters
Type | Name |
---|---|
System.IO.Stream | outputStream |
GUnzipStream(Stream)
View Source
Declaration
Stream GUnzipStream(Stream gzStream)
Returns
System.IO.Stream
Parameters
Type | Name |
---|---|
System.IO.Stream | gzStream |