Shuttle.Core.Streams 21.0.1-rc1

Prefix Reserved
Suggested Alternatives

Shuttle.Streams

This is a prerelease version of Shuttle.Core.Streams.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Shuttle.Core.Streams --version 21.0.1-rc1
                    
NuGet\Install-Package Shuttle.Core.Streams -Version 21.0.1-rc1
                    
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="Shuttle.Core.Streams" Version="21.0.1-rc1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Shuttle.Core.Streams" Version="21.0.1-rc1" />
                    
Directory.Packages.props
<PackageReference Include="Shuttle.Core.Streams" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Shuttle.Core.Streams --version 21.0.1-rc1
                    
#r "nuget: Shuttle.Core.Streams, 21.0.1-rc1"
                    
#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.
#:package Shuttle.Core.Streams@21.0.1-rc1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Shuttle.Core.Streams&version=21.0.1-rc1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Shuttle.Core.Streams&version=21.0.1-rc1&prerelease
                    
Install as a Cake Tool

Shuttle.Core.Streams

Installation

dotnet add package Shuttle.Core.Streams

Provides Stream extensions.

Task<byte[]> ToBytesAsync(this Stream stream)

Creates an array of bytes from the given stream. The stream position is reset once the operation has completed.

Task<Stream> CopyAsync(this Stream stream)

Returns a copy of the given stream. The underlying type used is a MemoryStream. If the given stream is a MemoryStream the operation will attempt to use the internal buffer and return a read-only stream; else a standard MemoryStream is used and the stream data copied to that. The copy will be at position 0 and the source Stream will remain at its original position.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Shuttle.Core.Streams:

Package Downloads
Shuttle.Esb

Contains the core Shuttle.Esb assembly that should always be referenced when building Shuttle.Esb solutions.

GitHub repositories

This package is not used by any popular GitHub repositories.