Skip to content

Shuttle.Core.Streams

PM> Install-Package Shuttle.Core.Streams

Provides Stream extensions.

byte[] ToBytes(this Stream stream)

Returns the given stream as a byte array.

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