We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b398890 + fd00adc commit 0226a98Copy full SHA for 0226a98
src/CommunityToolkit.HighPerformance/Extensions/StreamExtensions.cs
@@ -169,7 +169,7 @@ public static int Read(this Stream stream, Span<byte> buffer)
169
/// <param name="stream">The destination <see cref="Stream"/> to write data to.</param>
170
/// <param name="buffer">The source <see cref="Span{T}"/> to read data from.</param>
171
#if NETSTANDARD2_1_OR_GREATER
172
- [Obsolete("This API is only available for binary compatibility, but Stream.Read should be used instead.")]
+ [Obsolete("This API is only available for binary compatibility, but Stream.Write should be used instead.")]
173
[EditorBrowsable(EditorBrowsableState.Never)]
174
#endif
175
public static void Write(this Stream stream, ReadOnlySpan<byte> buffer)
0 commit comments