Свойство | Тип | Описание | |
---|---|---|---|
DeflateProvider | IDeflateProvider | ||
GZipProvider | IGZipProvider |
Метод | Описание | |
---|---|---|
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. |
Результат | byte[] |
public static CompressBytes ( this bytes, string compressionType ) : byte[] | ||
bytes | this | |
compressionType | string | |
Результат | byte[] |
public static Decompress ( this gzStream, string compressionType ) : Stream | ||
gzStream | this | Compressed stream |
compressionType | string | Type of the compression. Can be "gzip" or "deflate" |
Результат | Stream |
public static Decompress ( this gzBuffer, string compressionType ) : string | ||
gzBuffer | this | The gz buffer. |
compressionType | string | Type of the compression. |
Результат | string |
public static DecompressBytes ( this gzBuffer, string compressionType ) : byte[] | ||
gzBuffer | this | |
compressionType | string | |
Результат | byte[] |
public static Deflate ( this text ) : byte[] | ||
text | this | |
Результат | byte[] |
public static GUnzip ( this gzBuffer ) : string | ||
gzBuffer | this | |
Результат | string |
public static GZip ( this text ) : byte[] | ||
text | this | |
Результат | byte[] |
public static Inflate ( this gzBuffer ) : string | ||
gzBuffer | this | |
Результат | string |
public static ToBytes ( this stream ) : byte[] | ||
stream | this | |
Результат | byte[] |
public static ToMd5Hash ( this stream ) : string | ||
stream | this | |
Результат | string |
public static ToUtf8String ( this stream ) : string | ||
stream | this | |
Результат | string |
public static Write ( this stream, string text ) : void | ||
stream | this | |
text | string | |
Результат | void |
public static IDeflateProvider DeflateProvider | ||
Результат | IDeflateProvider |