Skip to content

Commit 97c36d6

Browse files
committed
- docs
1 parent 84a8234 commit 97c36d6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ Provides `Stream` extensions.
88

99
``` c#
1010
byte[] ToBytes(this Stream stream)
11+
Task<byte[]> ToBytesAsync(this Stream stream)
1112
```
1213

1314
Returns the given `stream` as a `byte` array.
1415

1516
``` c#
1617
Stream Copy(this Stream stream)
18+
Task<Stream> CopyAsync(this Stream stream)
1719
```
1820

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

0 commit comments

Comments
 (0)