Property | Type | Description | |
---|---|---|---|
DeflateProvider | IDeflateProvider | ||
GZipProvider | IGZipProvider |
Method | Description | |
---|---|---|
Compress ( this text, string compressionType ) : byte[] |
Compresses the specified text using the default compression method: Deflate
|
|
CompressBytes ( this bytes, string compressionType ) : byte[] |
Compresses the specified text using the default compression method: Deflate
|
|
Decompress ( this gzStream, string compressionType ) : Stream |
Decompresses the specified gz buffer using inflate or gzip method
|
|
Decompress ( this gzBuffer, string compressionType ) : string |
Decompresses the specified gz buffer using the default compression method: Inflate
|
|
DecompressBytes ( this gzBuffer, string compressionType ) : byte[] |
Decompresses the specified gz buffer using the default compression method: Inflate
|
|
Deflate ( this text ) : byte[] | ||
GUnzip ( this gzBuffer ) : string | ||
GZip ( this text ) : byte[] | ||
Inflate ( this gzBuffer ) : string | ||
ToBytes ( this stream ) : byte[] | ||
ToMd5Hash ( this stream ) : string | ||
ToUtf8String ( this stream ) : string | ||
Write ( this stream, string text ) : void |
public static Compress ( this text, string compressionType ) : byte[] | ||
text | this | The text. |
compressionType | string | Type of the compression. |
return | byte[] |
public static CompressBytes ( this bytes, string compressionType ) : byte[] | ||
bytes | this | |
compressionType | string | |
return | byte[] |
public static Decompress ( this gzStream, string compressionType ) : Stream | ||
gzStream | this | Compressed stream |
compressionType | string | Type of the compression. Can be "gzip" or "deflate" |
return | Stream |
public static Decompress ( this gzBuffer, string compressionType ) : string | ||
gzBuffer | this | The gz buffer. |
compressionType | string | Type of the compression. |
return | string |
public static DecompressBytes ( this gzBuffer, string compressionType ) : byte[] | ||
gzBuffer | this | |
compressionType | string | |
return | byte[] |
public static GUnzip ( this gzBuffer ) : string | ||
gzBuffer | this | |
return | string |
public static Inflate ( this gzBuffer ) : string | ||
gzBuffer | this | |
return | string |
public static ToBytes ( this stream ) : byte[] | ||
stream | this | |
return | byte[] |
public static ToMd5Hash ( this stream ) : string | ||
stream | this | |
return | string |
public static ToUtf8String ( this stream ) : string | ||
stream | this | |
return | string |
public static Write ( this stream, string text ) : void | ||
stream | this | |
text | string | |
return | void |
public static IDeflateProvider DeflateProvider | ||
return | IDeflateProvider |