Provides extension methods for the Stream type.
Inheritance Hierarchy
KGySoft.CoreLibrariesStreamExtensions
Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-preview.3
Syntax
The StreamExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | CopyTo(Stream, Stream) |
Copies the source Stream into the destination one.
Copy begins on the current position of source stream. None of the streams are closed or sought after
the end of the copy progress.
|
![]() ![]() | CopyTo(Stream, Stream, Int32) |
Copies the source Stream into the destination one.
Copy begins on the current position of source stream. None of the streams are closed or sought after
the end of the copy progress.
|
![]() ![]() | ToArray |
Converts a stream to array of bytes. If the stream can be sought, its position will be the same as before calling this method.
|
See Also