Lindhart.Utility.IO.Streaming
4.1.0
See the version list below for details.
dotnet add package Lindhart.Utility.IO.Streaming --version 4.1.0
NuGet\Install-Package Lindhart.Utility.IO.Streaming -Version 4.1.0
<PackageReference Include="Lindhart.Utility.IO.Streaming" Version="4.1.0" />
paket add Lindhart.Utility.IO.Streaming --version 4.1.0
#r "nuget: Lindhart.Utility.IO.Streaming, 4.1.0"
// Install Lindhart.Utility.IO.Streaming as a Cake Addin #addin nuget:?package=Lindhart.Utility.IO.Streaming&version=4.1.0 // Install Lindhart.Utility.IO.Streaming as a Cake Tool #tool nuget:?package=Lindhart.Utility.IO.Streaming&version=4.1.0
stream-utilities
Contains simple utilities for helping when working with the Stream class in .Net
It currently contains the following helper classes:
DelegatingStream
This is usefull for overwriting a single method in a stream, or simply embedding small code.
TestReadStream
Usefull in scenarios where you want to test code that handles real world Stream
. The TestReadStream
behaves much like a real world Stream
does - for example it does not allow you to set position. This enables you to identify possible bugs that would not have been found by testing with the MemoryStream
.
StreamCounter
Can be usefull to track the number of bytes read or written. Rather usefull if you receive a Stream
where you cannot determine length (ex. a file received via network), but you want to calculate it while you process it (ex. while saving it to a database).
StreamInverter
Can reverse a Stream wrapper direction. Usefull if you have a Stream that takes an output Stream in the constructor, but you wanted it to take an input Stream instead. Ex. when using the Stream compression methods in .net (ex. GZipStream).
BufferBackgroundStream
A double buffer stream that will allow reading from one buffer while filling the other in the background using a background thread. Usefull for paralizing multiple time consuming stream operations. Example if you both want to calculate hash for a Stream and then compress it. Or receive it via network, compress and store in database (here you might want to use this class twice).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.