Skip to content
On this page

Shuttle.Core.Streams

PM> Install-Package Shuttle.Core.Streams

Provides Stream extensions.

c#
byte[] ToBytes(this Stream stream)

Returns the given stream as a byte array.

c#
Stream Copy(this Stream stream)

Creates a copyof the given stream. THe copy will be at position 0 and the source stream will remain at its original position.

Shuttle.Core.Streams has loaded