summary refs log tree commit diff
path: root/crypto/src/util
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-09-02 16:01:46 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-09-02 16:01:46 +0700
commit0eb75e3c71890e27256b839b58103a8e6cd42e7f (patch)
tree784c753773f01b01643b9cfc630fb6d16c106edc /crypto/src/util
parentFIx return value for empty read (diff)
downloadBouncyCastle.NET-ed25519-0eb75e3c71890e27256b839b58103a8e6cd42e7f.tar.xz
NullOutputStream => Stream.Null
Diffstat (limited to 'crypto/src/util')
-rw-r--r--crypto/src/util/io/NullOutputStream.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/crypto/src/util/io/NullOutputStream.cs b/crypto/src/util/io/NullOutputStream.cs
deleted file mode 100644
index c435549d2..000000000
--- a/crypto/src/util/io/NullOutputStream.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-
-namespace Org.BouncyCastle.Utilities.IO
-{
-	internal class NullOutputStream
-		: BaseOutputStream
-	{
-		public override void Write(byte[] buffer, int offset, int count)
-		{
-			Streams.ValidateBufferArguments(buffer, offset, count);
-		}
-
-		public override void WriteByte(byte value)
-		{
-		}
-	}
-}