23 lines
427 B
C#
23 lines
427 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
|
{
|
|
internal class NullOutputStream
|
|
: BaseOutputStream
|
|
{
|
|
public override void WriteByte(byte b)
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
public override void Write(byte[] buffer, int offset, int count)
|
|
{
|
|
// do nothing
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|