Initial Commit
This commit is contained in:
20
iTechSharp/srcbc/bcpg/InputStreamPacket.cs
Normal file
20
iTechSharp/srcbc/bcpg/InputStreamPacket.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace Org.BouncyCastle.Bcpg
|
||||
{
|
||||
public class InputStreamPacket
|
||||
: Packet
|
||||
{
|
||||
private readonly BcpgInputStream bcpgIn;
|
||||
|
||||
public InputStreamPacket(
|
||||
BcpgInputStream bcpgIn)
|
||||
{
|
||||
this.bcpgIn = bcpgIn;
|
||||
}
|
||||
|
||||
/// <summary>Note: you can only read from this once...</summary>
|
||||
public BcpgInputStream GetInputStream()
|
||||
{
|
||||
return bcpgIn;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user