summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/util/io/LimitedBuffer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/util/io/LimitedBuffer.cs b/crypto/src/util/io/LimitedBuffer.cs

index 07c9969ad..c99c49c25 100644 --- a/crypto/src/util/io/LimitedBuffer.cs +++ b/crypto/src/util/io/LimitedBuffer.cs
@@ -47,6 +47,7 @@ namespace Org.BouncyCastle.Utilities.IO public override void Write(ReadOnlySpan<byte> buffer) { buffer.CopyTo(m_buf.AsSpan(m_count)); + m_count += buffer.Length; } #endif