Skip to content

Commit 51d8fd0

Browse files
committed
Remove obsolete documentation.
This referred to the behaviour of a previous version of this interface.
1 parent 18417ea commit 51d8fd0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/MySqlConnector/Protocol/Serialization/IByteHandler.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ internal interface IByteHandler : IDisposable
1616
/// </summary>
1717
/// <param name="buffer">The buffer to read into.</param>
1818
/// <param name="ioBehavior">The <see cref="IOBehavior"/> to use when reading data.</param>
19-
/// <returns>A <see cref="ValueTask{Int32}"/>. Number of bytes read.</returns>
20-
/// If reading failed, zero bytes will be returned. This
21-
/// <see cref="ArraySegment{Byte}"/> will be valid to read from until the next time <see cref="ReadBytesAsync"/> or
22-
/// <see cref="WriteBytesAsync"/> is called.
19+
/// <returns>A <see cref="ValueTask{Int32}"/> holding the number of bytes read. If reading failed, this will be zero.</returns>
2320
ValueTask<int> ReadBytesAsync(ArraySegment<byte> buffer, IOBehavior ioBehavior);
2421

2522
/// <summary>

0 commit comments

Comments
 (0)