Compresses the String value using the specified compressionLevel (constants are defined in java.util.zip.Deflater).

Namespace: Lucene.Net.Documents
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static byte[] CompressString(
	string value_Renamed,
	int compressionLevel
)
Visual Basic
Public Shared Function CompressString ( _
	value_Renamed As String, _
	compressionLevel As Integer _
) As Byte()
Visual C++
public:
static array<unsigned char>^ CompressString(
	String^ value_Renamed, 
	int compressionLevel
)

Parameters

value_Renamed
Type: System..::..String

[Missing <param name="value_Renamed"/> documentation for "M:Lucene.Net.Documents.CompressionTools.CompressString(System.String,System.Int32)"]

compressionLevel
Type: System..::..Int32

[Missing <param name="compressionLevel"/> documentation for "M:Lucene.Net.Documents.CompressionTools.CompressString(System.String,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Documents.CompressionTools.CompressString(System.String,System.Int32)"]

See Also