Return either an ArmoredInputStream or a BcpgInputStream based on whether the initial characters of the stream are binary PGP encodings or not.

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

Syntax

C#
public static Stream GetDecoderStream(
	Stream inputStream
)
Visual Basic
Public Shared Function GetDecoderStream ( _
	inputStream As Stream _
) As Stream
Visual C++
public:
static Stream^ GetDecoderStream(
	Stream^ inputStream
)

Parameters

inputStream
Type: System.IO..::..Stream

See Also