Add CCW for an IStream object wrapping a Stream

このコミットが含まれているのは:
Sergio Pedri committed 2021-12-08 19:57:28 +01:00
1 親 10876946df
コミット b93a4a2a5b
13ファイル変更
+835 -1

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -36,7 +36,7 @@ internal static class StreamExtensions
/// </summary>
/// <param name="stream">The input <see cref="Stream"/> instance.</param>
/// <param name="span">A region of memory. This method copies the contents of this region to the current stream.</param>
public static void Write(this Stream stream, Span<byte> span)
public static void Write(this Stream stream, ReadOnlySpan<byte> span)
{
if (span.IsEmpty)
{