add all
This commit is contained in:
24
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/bcpg/InputStreamPacket.cs
vendored
Normal file
24
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/bcpg/InputStreamPacket.cs
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
namespace Best.HTTP.SecureProtocol.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user