Compresses the specified byte range, with default BEST_COMPRESSION level

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

Syntax

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

Parameters

value_Renamed
Type: array<System..::..Byte>[]()[][]

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

offset
Type: System..::..Int32

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

length
Type: System..::..Int32

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

Return Value

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

See Also