Lindhart.Utility.IO.Streaming 4.2.0

dotnet add package Lindhart.Utility.IO.Streaming --version 4.2.0                
NuGet\Install-Package Lindhart.Utility.IO.Streaming -Version 4.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lindhart.Utility.IO.Streaming" Version="4.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lindhart.Utility.IO.Streaming --version 4.2.0                
#r "nuget: Lindhart.Utility.IO.Streaming, 4.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lindhart.Utility.IO.Streaming as a Cake Addin
#addin nuget:?package=Lindhart.Utility.IO.Streaming&version=4.2.0

// Install Lindhart.Utility.IO.Streaming as a Cake Tool
#tool nuget:?package=Lindhart.Utility.IO.Streaming&version=4.2.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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.

Version Downloads Last updated
4.2.0 120 6/7/2024
4.1.0 114 4/1/2024
4.0.0 121 3/31/2024
3.0.0 118 3/27/2024
2.1.0 193 8/4/2023
2.0.1 414 8/9/2022
2.0.0 392 8/8/2022
1.0.1 354 5/26/2021
1.0.0 311 5/26/2021