Create a stream representing a general packet.

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

Syntax

C#
public BcpgOutputStream(
	Stream outStr,
	PacketTag tag,
	long length,
	bool oldFormat
)
Visual Basic
Public Sub New ( _
	outStr As Stream, _
	tag As PacketTag, _
	length As Long, _
	oldFormat As Boolean _
)
Visual C++
public:
BcpgOutputStream(
	Stream^ outStr, 
	PacketTag tag, 
	long long length, 
	bool oldFormat
)

Parameters

outStr
Type: System.IO..::..Stream
Output stream to write to.
tag
Type: Org.BouncyCastle.Bcpg..::..PacketTag
Packet tag.
length
Type: System..::..Int64
Size of chunks making up the packet.
oldFormat
Type: System..::..Boolean
If true, the header is written out in old format.

See Also