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#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
protected virtual Stream DecompressStream(
	string contentEncoding,
	Stream inStream
)
protected virtual Stream DecompressStream(
	string contentEncoding,
	Stream inStream
)
Protected Overridable Function DecompressStream ( 
	contentEncoding As String,
	inStream As Stream
) As Stream
Protected Overridable Function DecompressStream ( 
	contentEncoding As String,
	inStream As Stream
) As Stream
protected:
virtual Stream^ DecompressStream(
	String^ contentEncoding, 
	Stream^ inStream
)
protected:
virtual Stream^ DecompressStream(
	String^ contentEncoding, 
	Stream^ inStream
)
abstract DecompressStream : 
        contentEncoding : string * 
        inStream : Stream -> Stream 
override DecompressStream : 
        contentEncoding : string * 
        inStream : Stream -> Stream 
abstract DecompressStream : 
        contentEncoding : string * 
        inStream : Stream -> Stream 
override DecompressStream : 
        contentEncoding : string * 
        inStream : Stream -> 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: 2015.6.15.120