Keyoti SearchUnit API Docs
DecompressStream Method (contentEncoding, inStream)
API DocumentationKeyoti.SearchEngine.DocumentsReaderDecompressStream(String, Stream)
Keyoti SearchUnit v6
Decompresses the response stream if compressed with 'deflate' or 'gzip', if not compressed with either then the original stream is returned.
Declaration Syntax
C#Visual Basic
protected virtual Stream DecompressStream(
	string contentEncoding,
	Stream inStream
)
Protected Overridable Function DecompressStream ( 
	contentEncoding As String,
	inStream As Stream
) As Stream
Parameters
contentEncoding (String)
deflate | gzip
inStream (Stream)
Stream to decompress
Return Value
Stream
A decompressed stream.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610