The CompressionTools type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Compress(array<Byte>[]()[][]) | Compresses all bytes in the array, with default BEST_COMPRESSION level | |
| Compress(array<Byte>[]()[][], Int32, Int32) | Compresses the specified byte range, with default BEST_COMPRESSION level | |
| Compress(array<Byte>[]()[][], Int32, Int32, Int32) | Compresses the specified byte range using the
specified compressionLevel (constants are defined in
java.util.zip.Deflater).
| |
| CompressString(String) | Compresses the String value, with default BEST_COMPRESSION level | |
| CompressString(String, Int32) | Compresses the String value using the specified
compressionLevel (constants are defined in
java.util.zip.Deflater).
| |
| Decompress | Decompress the byte array previously returned by
compress
| |
| DecompressString | Decompress the byte array previously returned by
compressString back into a String
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |