Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Simple utility class providing static methods to compress and decompress binary data for stored fields. This class uses java.util.zip.Deflater and Inflater classes to compress and decompress. More...
Static Public Member Functions | |
static byte[] | Compress (byte[] value_Renamed, int offset, int length, int compressionLevel) |
Compresses the specified byte range using the specified compressionLevel (constants are defined in java.util.zip.Deflater). | |
static byte[] | Compress (byte[] value_Renamed, int offset, int length) |
Compresses the specified byte range, with default BEST_COMPRESSION level | |
static byte[] | Compress (byte[] value_Renamed) |
Compresses all bytes in the array, with default BEST_COMPRESSION level | |
static byte[] | CompressString (System.String value_Renamed) |
Compresses the String value, with default BEST_COMPRESSION level | |
static byte[] | CompressString (System.String value_Renamed, int compressionLevel) |
Compresses the String value using the specified compressionLevel (constants are defined in java.util.zip.Deflater). | |
static byte[] | Decompress (byte[] value_Renamed) |
Decompress the byte array previously returned by compress | |
static System.String | DecompressString (byte[] value_Renamed) |
Decompress the byte array previously returned by compressString back into a String | |
Simple utility class providing static methods to compress and decompress binary data for stored fields. This class uses java.util.zip.Deflater and Inflater classes to compress and decompress.
Definition at line 37 of file CompressionTools.cs.
|
static |
Compresses the specified byte range using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
Definition at line 49 of file CompressionTools.cs.
|
static |
Compresses the specified byte range, with default BEST_COMPRESSION level
Definition at line 81 of file CompressionTools.cs.
|
static |
Compresses all bytes in the array, with default BEST_COMPRESSION level
Definition at line 87 of file CompressionTools.cs.
|
static |
Compresses the String value, with default BEST_COMPRESSION level
Definition at line 93 of file CompressionTools.cs.
|
static |
Compresses the String value using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
Definition at line 102 of file CompressionTools.cs.
|
static |
Decompress the byte array previously returned by compress
Definition at line 112 of file CompressionTools.cs.
|
static |
Decompress the byte array previously returned by compressString back into a String
Definition at line 141 of file CompressionTools.cs.