https://github.com/shuttle/shuttle.core.streams
Stream infrastructure utilities.
https://github.com/shuttle/shuttle.core.streams
Last synced: 7 months ago
JSON representation
Stream infrastructure utilities.
- Host: GitHub
- URL: https://github.com/shuttle/shuttle.core.streams
- Owner: Shuttle
- License: bsd-3-clause
- Created: 2018-01-04T09:55:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-02T12:12:19.000Z (about 1 year ago)
- Last Synced: 2025-07-23T17:59:35.653Z (8 months ago)
- Language: C#
- Size: 71.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shuttle.Core.Streams
```
PM> Install-Package Shuttle.Core.Streams
```
Provides `Stream` extensions.
``` c#
Task ToBytesAsync(this Stream stream)
```
Returns the given `Stream` as a `byte` array.
``` c#
Task CopyAsync(this Stream stream)
```
Creates a copy of the given `Stream`. THe copy will be at position 0 and the source `Stream` will remain at its original position.