CommunityToolkit / dotnet

.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.
https://docs.microsoft.com/dotnet/communitytoolkit/?WT.mc_id=dotnet-0000-bramin
Other
2.99k stars 294 forks source link

Added Stream over ReadOnlySequence<byte> #808

Open paulomorgado opened 9 months ago

paulomorgado commented 9 months ago

PR Checklist

Other information

This PR adds a AsStream() extension method to ReadOnlySequence<byte> similarly to the same method for Memory<byte> and ReadOnlyMemory<byte>.