From e9a17a4811d21de72e8f36f7b423fe44c2cb1cf6 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 6 Apr 2014 12:22:52 +0700 Subject: Move NullOutputStream to util/io --- crypto/src/cms/NullOutputStream.cs | 20 -------------------- crypto/src/util/io/NullOutputStream.cs | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 20 deletions(-) delete mode 100644 crypto/src/cms/NullOutputStream.cs create mode 100644 crypto/src/util/io/NullOutputStream.cs (limited to 'crypto/src') diff --git a/crypto/src/cms/NullOutputStream.cs b/crypto/src/cms/NullOutputStream.cs deleted file mode 100644 index ed937bdeb..000000000 --- a/crypto/src/cms/NullOutputStream.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -using Org.BouncyCastle.Utilities.IO; - -namespace Org.BouncyCastle.Cms -{ - internal class NullOutputStream - : BaseOutputStream - { - public override void WriteByte(byte b) - { - // do nothing - } - - public override void Write(byte[] buffer, int offset, int count) - { - // do nothing - } - } -} diff --git a/crypto/src/util/io/NullOutputStream.cs b/crypto/src/util/io/NullOutputStream.cs new file mode 100644 index 000000000..13877fa13 --- /dev/null +++ b/crypto/src/util/io/NullOutputStream.cs @@ -0,0 +1,18 @@ +using System; + +namespace 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 + } + } +} -- cgit 1.5.1