diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-04-06 12:22:52 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-04-06 12:22:52 +0700 |
commit | e9a17a4811d21de72e8f36f7b423fe44c2cb1cf6 (patch) | |
tree | b53100dc6e69482b09139e62c1fc20b6e0129fb3 /crypto/src/util | |
parent | Remove redundant Mac.Init calls (diff) | |
download | BouncyCastle.NET-ed25519-e9a17a4811d21de72e8f36f7b423fe44c2cb1cf6.tar.xz |
Move NullOutputStream to util/io
Diffstat (limited to 'crypto/src/util')
-rw-r--r-- | crypto/src/util/io/NullOutputStream.cs | 18 |
1 files changed, 18 insertions, 0 deletions
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 + } + } +} |