NetGZipProvider
Assembly: ServiceStack.Client.dll
View Source
Declaration
[Obsolete("Use GZipProvider")]
public class NetGZipProvider : IGZipProvider
Properties
Instance
View Source
Declaration
public static NetGZipProvider Instance { get; }
Methods
GZip(String)
View Source
Declaration
public byte[] GZip(string text)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.String | text |
GZip(Byte[])
View Source
Declaration
public byte[] GZip(byte[] bytes)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.Byte[] | bytes |
GZipStream(Stream)
View Source
Declaration
public Stream GZipStream(Stream outputStream)
Returns
System.IO.Stream
Parameters
Type | Name |
---|---|
System.IO.Stream | outputStream |
GUnzip(Byte[])
View Source
Declaration
public string GUnzip(byte[] gzBuffer)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Byte[] | gzBuffer |
GUnzipBytes(Byte[])
View Source
Declaration
public byte[] GUnzipBytes(byte[] gzBuffer)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
System.Byte[] | gzBuffer |
GUnzipStream(Stream)
View Source
Declaration
public Stream GUnzipStream(Stream inputStream)
Returns
System.IO.Stream
Parameters
Type | Name |
---|---|
System.IO.Stream | inputStream |