You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Introduced `DotNext.IO.ModernStream` class that derives from [Stream](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream) and implements many of the methods introduced since .NET Framework 1.1 by default in a modern way, requiring only minimal subset of core methods to be implemented by the derived class
7
+
* Removed async state machine allocations for ad-hoc streams returned by `StreamSource` factory methods
* Improved support of timeouts in `CancellationTokenMultiplexer`. The scope object now has explicit property to detect whether the multiplexed token source is cancelled due to timeout
* Introduced `DotNext.IO.ModernStream` class that derives from [Stream](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream) and implements many of the methods introduced since .NET Framework 1.1 by default in a modern way, requiring only minimal subset of core methods to be implemented by the derived class
51
+
* Removed async state machine allocations for ad-hoc streams returned by `StreamSource` factory methods
* Improved support of timeouts in `CancellationTokenMultiplexer`. The scope object now has explicit property to detect whether the multiplexed token source is cancelled due to timeout
Copy file name to clipboardExpand all lines: src/DotNext.IO/IO/PoolingBufferedStream.cs
+1-51Lines changed: 1 addition & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
usingSystem.Diagnostics;
2
2
usingSystem.Diagnostics.CodeAnalysis;
3
-
usingSystem.Runtime.CompilerServices;
4
3
5
4
namespaceDotNext.IO;
6
5
@@ -15,7 +14,7 @@ namespace DotNext.IO;
15
14
/// </remarks>
16
15
/// <param name="stream">The underlying stream to be buffered.</param>
17
16
/// <param name="leaveOpen"><see langword="true"/> to leave <paramref name="stream"/> open after the object is disposed; otherwise, <see langword="false"/>.</param>
0 commit comments