DotNetCompression Class Reference for Windows Phone
CreateInputStream(Stream,Boolean) Method






The underlying stream from which to read compressed bytes.
If true, the underlying stream will be left open when this stream is closed; otherwise underlying stream is closed when this stream is closed.
Creates an input stream that reads and decompresses compressed bytes from the specified underlying stream.
Syntax
'Declaration
 
Public Overloads Overrides Function CreateInputStream( _
   ByVal input As System.IO.Stream, _
   ByVal leaveOpen As System.Boolean _
) As CompressionStream
'Usage
 
Dim instance As ZlibCompression
Dim input As System.IO.Stream
Dim leaveOpen As System.Boolean
Dim value As CompressionStream
 
value = instance.CreateInputStream(input, leaveOpen)
public override CompressionStream CreateInputStream( 
   System.IO.Stream input,
   System.bool leaveOpen
)
public function CreateInputStream( 
    input: System.IO.Stream;
    leaveOpen: System.Boolean
): CompressionStream; override; 
public override function CreateInputStream( 
   input : System.IO.Stream,
   leaveOpen : System.boolean
) : CompressionStream;
public: CompressionStream* CreateInputStream( 
   System.IO.Stream* input,
   System.bool leaveOpen
) override 
public:
CompressionStream^ CreateInputStream( 
   System.IO.Stream^ input,
   System.bool leaveOpen
) override 

Parameters

input
The underlying stream from which to read compressed bytes.
leaveOpen
If true, the underlying stream will be left open when this stream is closed; otherwise underlying stream is closed when this stream is closed.

Return Value

The stream to read decompressed data.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ZlibCompression Class
ZlibCompression Members
Overload List
Base Implementation in CreateInputStream(Stream,Boolean)

Send Feedback