summary refs log tree commit diff
path: root/crypto/src/util/io/MemoryInputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/io/MemoryInputStream.cs')
-rw-r--r--crypto/src/util/io/MemoryInputStream.cs14
1 files changed, 10 insertions, 4 deletions
diff --git a/crypto/src/util/io/MemoryInputStream.cs b/crypto/src/util/io/MemoryInputStream.cs

index d353314ee..cdc5aafb3 100644 --- a/crypto/src/util/io/MemoryInputStream.cs +++ b/crypto/src/util/io/MemoryInputStream.cs
@@ -1,13 +1,19 @@ -using System.IO; +using System; +using System.IO; namespace Org.BouncyCastle.Utilities.IO { - public class MemoryInputStream : MemoryStream + public class MemoryInputStream + : MemoryStream { - public MemoryInputStream(byte[] buffer) : base(buffer, false) + public MemoryInputStream(byte[] buffer) + : base(buffer, false) { } - public sealed override bool CanWrite { get { return false; } } + public sealed override bool CanWrite + { + get { return false; } + } } }