Skip to content

Commit bf19318

Browse files
committed
Fixed typo
1 parent 6efa13e commit bf19318

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DotNext.IO/IO/FileWriter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public FileWriter(FileStream destination, int bufferSize = 4096, MemoryAllocator
9191
public int MaxBufferSize => buffer.Length;
9292

9393
/// <summary>
94-
/// Marks the specified number of bytes in the buffer as consumed.
94+
/// Marks the specified number of bytes in the buffer as produced.
9595
/// </summary>
96-
/// <param name="bytes">The number of consumed bytes.</param>
96+
/// <param name="bytes">The number of produced bytes.</param>
9797
/// <exception cref="ArgumentOutOfRangeException"><paramref name="bytes"/> is larger than the length of <see cref="Buffer"/>.</exception>
9898
public void Produce(int bytes)
9999
{

0 commit comments

Comments
 (0)