DotNetCompression Class Reference for Windows Phone
CreateEncodingStream Method (LzmaFactory)






The stream to write compressed data.
If true, the output stream is left open when the compression stream is closed.
Creates a new compression stream for specified output stream into which compressed data will be written.
Syntax
'Declaration
 
Public Function CreateEncodingStream( _
   ByVal output As System.IO.Stream, _
   ByVal leaveOpen As System.Boolean _
) As System.IO.Stream
'Usage
 
Dim instance As LzmaFactory
Dim output As System.IO.Stream
Dim leaveOpen As System.Boolean
Dim value As System.IO.Stream
 
value = instance.CreateEncodingStream(output, leaveOpen)
public System.IO.Stream CreateEncodingStream( 
   System.IO.Stream output,
   System.bool leaveOpen
)
public function CreateEncodingStream( 
    output: System.IO.Stream;
    leaveOpen: System.Boolean
): System.IO.Stream; 
public function CreateEncodingStream( 
   output : System.IO.Stream,
   leaveOpen : System.boolean
) : System.IO.Stream;
public: System.IO.Stream* CreateEncodingStream( 
   System.IO.Stream* output,
   System.bool leaveOpen
) 
public:
System.IO.Stream^ CreateEncodingStream( 
   System.IO.Stream^ output,
   System.bool leaveOpen
) 

Parameters

output
The stream to write compressed data.
leaveOpen
If true, the output stream is left open when the compression stream is closed.

Return Value

The compression stream that writes compressed data into the specified output stream.
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

LzmaFactory Class
LzmaFactory Members

Send Feedback