https://github.com/shuttle/shuttle.core.streams
Stream infrastructure utilities.
https://github.com/shuttle/shuttle.core.streams
Last synced: about 1 month 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-02T12:12:19.000Z (4 months ago)
- Last Synced: 2025-04-08T06:44:11.621Z (about 1 month 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.