22 lines
379 B
C#
22 lines
379 B
C#
using System;
|
|
|
|
namespace Org.BouncyCastle.Bcpg;
|
|
|
|
public abstract class OutputStreamPacket
|
|
{
|
|
private readonly BcpgOutputStream bcpgOut;
|
|
|
|
internal OutputStreamPacket(BcpgOutputStream bcpgOut)
|
|
{
|
|
if (bcpgOut == null)
|
|
{
|
|
throw new ArgumentNullException("bcpgOut");
|
|
}
|
|
this.bcpgOut = bcpgOut;
|
|
}
|
|
|
|
public abstract BcpgOutputStream Open();
|
|
|
|
public abstract void Close();
|
|
}
|