ReadOnlySubStream span position bug

This commit is contained in:
Lars Vahlenberg
2023-03-01 20:17:43 +01:00
parent 9e6f9d50ef
commit f60728b537

View File

@@ -75,6 +75,7 @@ internal class ReadOnlySubStream : NonDisposingStream
if (read > 0)
{
BytesLeftToRead -= read;
_position += read;
}
return read;
}