summary refs log tree commit diff
path: root/crypto/src/util/io/NullOutputStream.cs
blob: 13877fa139fd1bcbf9f5668de55e13e3aac9fa54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
		}
	}
}