StreamExtensions Class
Provides extension methods for the
Stream type.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public static class StreamExtensions
<ExtensionAttribute>
Public NotInheritable Class StreamExtensions
[ExtensionAttribute]
public ref class StreamExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type StreamExtensions = class end
- Inheritance
- Object StreamExtensions
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.
|