diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-03-22 22:28:24 +1030 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-03-22 22:28:24 +1030 |
commit | 511a6af913f64908ada0ad8aeb19fd7a8f7e9575 (patch) | |
tree | d90af4ce8482cb4ec2ad8e2d6f9639635081d104 /crypto/src/util | |
parent | Change TLS server default DH parameters to 2048-bit group from RFC 3526 (diff) | |
download | BouncyCastle.NET-ed25519-511a6af913f64908ada0ad8aeb19fd7a8f7e9575.tar.xz |
Simple refactoring to follow bc-java code
Diffstat (limited to 'crypto/src/util')
-rw-r--r-- | crypto/src/util/io/Streams.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/src/util/io/Streams.cs b/crypto/src/util/io/Streams.cs index 70957acc7..cc7fa924c 100644 --- a/crypto/src/util/io/Streams.cs +++ b/crypto/src/util/io/Streams.cs @@ -90,5 +90,11 @@ namespace Org.BouncyCastle.Utilities.IO } return total; } - } + + /// <exception cref="IOException"></exception> + public static void WriteBufTo(MemoryStream buf, Stream output) + { + buf.WriteTo(output); + } + } } |