Return an output stream which will save the data being written to the compressed object.

The stream created can be closed off by either calling Close() on the stream or Close() on the generator. Closing the returned stream does not close off the Stream parameter outStr.

Namespace: Org.BouncyCastle.Bcpg.OpenPgp
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public Stream Open(
	Stream outStr
)
Visual Basic
Public Function Open ( _
	outStr As Stream _
) As Stream
Visual C++
public:
Stream^ Open(
	Stream^ outStr
)

Parameters

outStr
Type: System.IO..::..Stream
Stream to be used for output.

Return Value

A Stream for output of the compressed data.

Exceptions

See Also